newsContent: newsContent

Description Usage Arguments

View source: R/newsapiContent.R

Description

A function to retrieve articles from newsapi.org

Usage

1
newsContent(url, tag, removeStop = "FALSE")

Arguments

url

(required) the url of the page from which to get the content

tag

(required) the html tag from which to get the content e.g. "p" passed to read_html.

removeStop

(logical) remove stopwords from the raw text with an antijoin to tidytext::stopwords? defaults to "FALSE".


rmnppt/newsR documentation built on May 19, 2019, 8:24 a.m.