Displaying 1 result from an estimated 1 matches for "worddata_".
2010 Apr 15
0
Automating searching text for key words
...s/2002bushisms.htm","http://anitasdailyshowpage.tripod.com/transcripts/2002wasntcorrspondent.htm")
#Create text data by accessing website and putting all text from page into a
list where each element
#is represents by a word
#Loop through and load text from all website addresses
WordData_<-list()
for(i in 1:length(WebAdds)){
AddToUse<-WebAdds[i]
Select.WebAdd<-AddToUse
Select.WebAdd<-as.character(Select.WebAdd)
#Remove blanks from address to it can be read
Select.WebAdd<-sub("[[:blank:]]", "", Select.WebAdd)
WordData_[[i]]<- scan(url(Select.Web...