scrapurrr: Scrape a list of links or html files using a scrapefun

scrapurrrR Documentation

Scrape a list of links or html files using a scrapefun

Description

Scrape a list of links or html files using a scrapefun

Usage

scrapurrr(
  ...,
  scrapefun,
  map_fun,
  delay = 0,
  attempts = 3,
  display_progress_bar = F
)

Arguments

...

arguments passed to the scrapefun.

scrapefun

A function that defines the scraping logic. See vignette(scrapefuns_and_helpers) for examples.

map_fun

A map_... function from purrr ord furrr.

delay

numeric scalar giving the number of seconds to wait before the function is called

attempts

numeric scalar giving the number of retry attempts if the function fails

display_progress_bar

logical scalar indicating whether to display a progress bar

Value

Returns a list.


m-g-h/scrapurrr documentation built on Aug. 2, 2022, 9:43 a.m.