GatherProviderDataFrame: Gather EOL Provider Information

View source: R/GatherProviderDataFrame.R

GatherProviderDataFrameR Documentation

Gather EOL Provider Information

Description

This function will read in the downloaded xml files and amass a data frame with provider information. Information will include taxon name, eol number, and information from each provider in the following order: provider taxon, provider taxon ID, provider scientific name, provider taxonomy rank.

Usage

GatherProviderDataFrame(MyEOLs, extended.output = FALSE)

Arguments

MyEOLs

A vector of filenames or a list of XMLs for downloaded EOL pages

extended.output

If set to TRUE, then a large dataframe will be returned with information from each provider in the following order: provider taxon, provider taxon ID, provider scientific name, provider taxonomy rank.

Value

Returns a data frame with presence/absence of provider information or if extended.output=TRUE ID values for each provider.

Examples

## Not run: 
data(MyEOLs)
GatherProviderDataFrame(MyEOLs, extended.output=FALSE)
GatherProviderDataFrame(MyEOLs[1], extended.output=FALSE)

## End(Not run)

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