Man pages for CorrelAid/newsanchor
Client for the News API

build_newsanchor_urlBuilds query URL for newsapi.org.
collapse_to_comma_separatedConcatenate character vector to comma-separated string.
extract_newsanchor_articlesExtracts data frame with News API articles from response...
extract_newsanchor_metadataExtracts metadata.
extract_newsanchor_sourcesExtracts data frame with News API sources from response...
get_everythingGet resources of newsapi.org
get_everything_allReturns all articles from newsapi.org in one data frame
get_headlinesReturns selected headlines from newsapi.org
get_headlines_allReturns all headlines from newsapi.org
get_sourcesReturns selected sources from newsapi.org
make_newsanchor_get_requestMakes a GET request to News API.
parse_newsanchor_contentParses content returned by query to the News API.
sample_responseSample Response Object
set_api_keyAdd API key to the .Renviron
stop_if_invalid_categoryChecks validity of a category.
stop_if_invalid_countryChecks validity of a country
stop_if_invalid_languageChecks validity of a language
stop_if_invalid_sourceChecks validity of a source
terms_categoryTerms Category
terms_countryTerms Country
terms_languageTerms Language
terms_sourcesTerms Sources
CorrelAid/newsanchor documentation built on Sept. 6, 2020, 10:44 a.m.