ccwarcs_options: Set Options for the ccwarcs Package

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Set Options for the ccwarcs Package

Usage

1
2
ccwarcs_options(cache = "~/.ccwarcs_cache", cdx_sleep = 0.3,
  page_size = NULL)

Arguments

cache

Location for the cached CDX index results and WARC files

cdx_sleep

Amount of time (seconds) to wait after a CDX server call before resuming

page_size

An optional parameter to set the amount of data returned in each page

Value

A list object of class ccwarcs_options

Examples

1
2
3
4
5
6
7
## Not run: 
opts <- ccwarcs_options(cache = "my_project_directory")
url <- "http://www.celebuzz.com/2017-01-04"
crawl <- "2018-47"
results <- get_cc_index(url, crawl, .options = opts)

## End(Not run)

jasonmtroos/ccwarcs documentation built on Nov. 4, 2019, 2:20 p.m.