beertweets {MapGAM}R Documentation

Geocoded Tweets with Beer Indicator

Description

Geocoded tweets from Twitter, with an indicator variable for any mention of beer, time stamp, and state of origin.

Usage

data(MAmap)

Format

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.

Details

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.

Source

Dr. Matthew Zook, University of Kentucky, floatingsheep.org

Examples

data(beertweets)
attach(beertweets)
plot(longitude,latitude,col=beer+1)  # beer in red, non-beer in black

[Package MapGAM version 1.3 Index]