get_headlines: 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_headlines(country, category, sources, q, apiKey = newsapi_key(),
  endpoint = "TOP-HEADLINES")

Arguments

country

String category

category

String language

sources

String country

q

Keywords to search for.

apiKey

String apiKey

endpoint

String of endpoints

Value

dataframe

Examples

1
## Not run: get_headlines(category = 'general',country = 'de')

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