get_sources: Get news based on sources category, language and country

Description Usage Arguments Value Examples

Description

Get news based on sources category, language and country

Usage

1
2
get_sources(category, language, country, apiKey = newsapi_key(),
  endpoint = "sources")

Arguments

category

String category

language

String language

country

String country

apiKey

String apiKey

endpoint

String of endpoints

Value

dataframe

Examples

1
## Not run: get_sources(category = 'general',language = 'en')

data-atelier/newsExploreR documentation built on May 22, 2019, 11:51 p.m.