Skip to content

annasophiepeters/rtweetstats

Repository files navigation

rtweetstats

The goal of rtweetstats is to improve accessibility of Twitter analyses for the average R user through two functions; keystats and userstats. The former analyzes user-specified keywords and hashtags, returning an HTML ouput with various summary graphics while the latter analyzes the pages of user-specified Twitter users, returning an HTML output with account summary information as well as the user-specified number of most recent tweets.

Installation

You can install this package with the following code:

if(!require(devtools)){
   install.packages("devtools")
}
devtools::install_github("annasophiepeters/rtweetstats")

Example

This is a basic example which shows you how to use each of the functions:

library(rtweetstats)
keystats("data science", n=1000, top_num = 20)
userstats(c("taylorswift13","katyperry"), 1000, year = 2019, x=5)

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages