Learn R Programming

tweet2r (version 1.1)

t2summary: Summary from retrieved tweets

Description

Summary and graphical output from the tweets retrieved with the tweet2r package. The function performs a short description numerical and graphical.

Usage

t2summary(tweets, geotweets)

Arguments

tweets

Data frame with the tweets retrieved with tweet2r

geotweets

Spatial data frame with the geotweets retrieved with tweet2r

Value

summt

Number of tweets (geo and non geo) as 'ntweets', number of tweets with geotag as 'ngeotweets', number of tweets whit no geotag as diftweets, percentage of geotweets as 'pergeotweets'

mapt

Tweets' location Map

ghour

Plot of the number of tweets distributed by hour (UTC +000)

gweekday

Plot of the number of tweets distributed by days of the week (UTC +000)

%% ...

See Also

tweet2r,t2sqlite,t2pgis

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
t2summary(tweets, geotweets)

#get summary description
summary
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab