Learn R Programming

Reol (version 1.55)

GatherProviderDataFrame: 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

Run this code
data(MyEOLs)
## Not run: GatherProviderDataFrame(MyEOLs, extended.output=FALSE)

GatherProviderDataFrame(MyEOLs[1], extended.output=FALSE)

Run the code above in your browser using DataLab