web_scrape_urls: Scrape News Data from Various Sources

View source: R/web_scrape_urls.R

web_scrape_urlsR Documentation

Scrape News Data from Various Sources

Description

Function scrapes content of provided list of URLs.

Usage

web_scrape_urls(x, cores = 3)

Arguments

x

A character vector of URLs.

cores

The number of cores to use for parallel processing.

Value

A data frame containing scraped news data.

Examples

## Not run: 
url <- 'https://www.nytimes.com/2024/03/25/nyregion/trump-bond-reduced.html'
article_tif <- web_scrape_urls(x = url, input = 'urls', cores = 1)

## End(Not run)



textpress documentation built on Oct. 14, 2024, 5:08 p.m.