filter_urls: Filter URLs Filter URLs in the provided database based on...

Description Usage Arguments Value Examples

View source: R/filter_urls.R

Description

Filter URLs Filter URLs in the provided database based on topic, country and language

Usage

1
2
3
4
5
6
filter_urls(
  topic = NULL,
  country = NULL,
  language = NULL,
  rss_table = package_rss
)

Arguments

topic

the topic of the feed see 'show_topics()' for more info.

country

the country of origin of the feed using two capital letters, for example "US". See 'show_countries()' for more info.

language

the language of the content of the feed using two lowercase letters, for example "en". See 'show_languages()' for more info.

rss_table

a dataframe with urls and rss feeds in case you need to construct your own out of websites not in the included database. #Be sure to have the same format as the included data. See 'R/package_rss.R' #for details.

Value

a tibble filtered according to the given parameters

Examples

1
filter_urls(topic = "tech", country = "US", language = "en")

newscatcheR documentation built on July 13, 2020, 5:05 p.m.