All of news-r R tools in one place.
Lists of packages included.
Data-related packages, packages to collect data, generally from APIs.
THe letterbox
packages attempts at providing a unified API for all of
the latter.
- newsapi - newsapi.org (news aggregator)
- guardian - The Guardian API
- papers - Information on newspapers
- loc - Library of Congress API
- webhoser - webhose.io API (news aggregator)
- currents - Currents API (news aggregator)
- nytimes - New York Times API
- spotlight - Entity extraction with DBPedia Spotlight
- stocknews - Stocknews API (financial news)
- ft - Financial Times API
- accunews - AccuNews API (local news)
- newsriver - newsriver.io API (news aggregator)
- hoaxy - Fake news monitoring
- factcheck - Fact check queries or publishers
- letterbox - News article crawler
Packages for analysis, generally text mining.
- textanalysis - Broad text analysis in R
- gensimr - Topic Modeling
- word2vec.r - Word2Vec embeddings in R
- phrasenets - Create phrase networks
You can install newsr from Github with remotes:
# install.packages("remotes")
remotes::install_github("news-r/newsr")
Loading newsr essentially loads all packages in the environment.
library(newsr)
#> ββ Attaching newsr βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ newsr 0.0.1 ββ
#> β newsapi 0.0.1 β stocknews 0.0.1
#> β guardian 0.0.1 β ft 0.0.1
#> β papers 0.0.1 β newsriver 0.0.1
#> β loc 0.0.1 β letterbox 0.0.1
#> β webhoser 0.0.1 β factcheck 0.0.1
#> β accunews 0.0.1 β textanalysis 0.0.1
#> β hoaxy 0.0.2 β gensimr 0.0.1
#> β currents 0.0.1 β word2vec.r 0.0.1
#> β nytimes 0.1.0 β phrasenets 0.0.1
#> β spotlight 0.1.0
The only function currently available is to check which API keys as set, or in other words, which APIs (packages) the user may call.
check_keys()
#> βΉ webhoserx, loc, and papers packages do not require keys
#> β newsapi key found
#> β currents key found
#> β factcheck key not found
#> β guardian key found
#> β nytimes key found
#> β ft key found
#> β stocknews key found
#> β accunews key found
#> β newsriver key found
#> β hoaxy key found
#> β webhoser key found
Please note that the βnewsrβ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.