AppVeyor build status Build Status

currents

Integrates the currents API with R.

Installation

# install.packages("remotes")
remotes::install_github("news-r/currents")

Example

Specify you API key with currents_key or put it in your .Renviron as CURRENTS_API_KEY.

library(currents)

currents_key("xXxxXXXxXXxXxx")

Then use cur_latest or cur_search.

currents::cur_search(keyword = "Donald Trump", language = "en")

You can also filter results by region, country or language.

currents::cur_avail_categories()


news-r/currents documentation built on Feb. 27, 2020, 2:38 p.m.