DownloadEOLpages: Download EOL Pages

View source: R/DownloadEOLpages.R

DownloadEOLpagesR Documentation

Download EOL Pages

Description

Download EOL Pages

Usage

DownloadEOLpages(pages, to.file = TRUE, MyKey = NULL, verbose = TRUE, ...)

Arguments

pages

EOL page numbers to download

to.file

Whether to download data to a file

MyKey

An optional user identification key to identify yourself to EOL

verbose

An optional print statement during download

...

Curl options passed on to getURL

Details

DownloadEOLpages will download EOL pages based on the EOL unique identifyer number (EOL ID). Each taxon is associated with a unique identifier. These numbers are used to match EOL pages with hierarchy pages and keep track of taxonomic changes.

To generate an api key (MyKey), register with EOL and find it under your profile.

Value

Either an XML file(s) downloaded to working directory or as an R object saved in the workspace.

See Also

DownloadHierarchy

Examples

## Not run: 
# Download taxa files to working directory in R
DownloadEOLpages(c(1,2,3), to.file=TRUE, MyKey)

## End(Not run)

ropensci/reol documentation built on May 18, 2022, 6:33 p.m.