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.