View source: R/parseTweetFiles.R
locate_tweets | R Documentation |
Labels an array of geo-located tweets with state abbreviations using shapefiles provided by the Census Bureau. This function should be run after cleaning the tweets, and only works on tweets with a latitude / longitude. Any tweets without lattitude / longitude codes are labeled with NA.
locate_tweets(located_tweets)
located_tweets |
A cleaned array of tweets with latitude / longitude variables. |
The tweet data frame with all in US tweets labeled with a state and all others with NA
## Not run: tweets = clean_tweets(dataframe)
## Not run: located_tweets = locate_tweets(tweets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.