beertweets | R Documentation |
Geocoded tweets from Twitter, with an indicator variable for any mention of beer, time stamp, and state of origin.
data(MAmap)
A data frame with 10000 observations on 5 variables:
beer
1 for tweets about beer, 0 for other tweets.
longitude
geocoded longitude.
latitude
geocoded latitude.
state
a factor with the name of the state.
time
a list of POSIXlt format dates and times for the tweets.
A sample of geocoded tweets from within in the contiguous US, from June to October of 2012. Tweets mentioning beer (cases) are oversampled by a factor of 100. Geocoding is typically at the level of city or town; tweets that could not be geocoded were excluded from this data set.
Dr. Matthew Zook, University of Kentucky, floatingsheep.org
data(beertweets)
attach(beertweets)
plot(longitude,latitude,col=beer+1) # beer in red, non-beer in black
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.