Learn R Programming

newscatcheR (version 0.0.2)

get_news: Get news

Description

Get news

Usage

get_news(website = "news.ycombinator.com")

Arguments

website

a url of a new source in the format "news.ycombinator.com"

Value

a tibble containing the contents of the rss feed

Examples

Run this code
# NOT RUN {
Sys.sleep(3) # adding a small time delay to avoid
# simultaneous posts to the API
get_news(website = "news.ycombinator.com")
# }

Run the code above in your browser using DataLab