Displaying 1 result from an estimated 1 matches for "dutchembassyuk".
2012 May 08
1
Extracting Hash-tagged word from Tweets
...someone help me with the code I can use to extract word preceded by hash tag in live tweets download from twitteR.
An example of what I require is:
[[9]]
[1] "HollandUKTrade: #Dutch companies striking Olympic gold at London 2012 http://t.co/XsvvXAzT #london2012 #olympics #sport @hollandtrade @dutchembassyUK" (Tweet download)
I want a code that will extract this:
#Dutch companies #london2012, #olympics, #sport
I have used the under-listed code in Stringr which return these outputs I did not require:
> str_extract_all("#<-a-z, #<-A-Z", "[[string1:string10]]") [[1]]
c...