Last data update: 2014.03.03

R: Geocoded Tweets with Beer Indicator
beertweetsR 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

http://www.floatingsheep.org/2012/07/church-or-beer-americans-on-twitter.html

Examples

data(MAmap)
plot(MAmap)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(MapGAM)
Loading required package: sp
Loading required package: gam
Loading required package: splines
Loading required package: foreach
Loaded gam 1.12

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MapGAM/beertweets.Rd_%03d_medium.png", width=480, height=480)
> ### Name: beertweets
> ### Title: Geocoded Tweets with Beer Indicator
> ### Aliases: beertweets
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(MAmap)
> plot(MAmap)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>