Data Object Information

Description

These functions gather information about the number of kinds of data objects. For example, it will tell you that there are 3 gifs 12 jpgs, and 34 text objects.

Usage

1
2
3

Arguments

MyEOL

A single EOL file or R object

MyEOLs

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

verbose

An optional print statement while combining

Value

GatherDataObjectInformation will return information from one single EOL file all of the data objects and their associated accession info. CombineDataObjectInformation will combine the data gathered singly into a huge matrix. Printing the results from either of these functions may hang up R or cause memory issues, so it isnt recommended (though you can pull of pieces of it). DataObjectOverview returns a data frame where each row is a single taxon and columns are a type of data object.

See Also

GetRichnessScores GetCommonNames GetIUCNStat GetReferences

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
data(MyEOLs)
DataObjectOverview(MyEOLs[1], verbose=FALSE)
## Not run: DataObjectOverview(MyEOLs, verbose=FALSE)

#Data from the first data object from the first EOL page on the list
## Not run: GatherDataObjectInformation(MyEOLs[1])[1,]

#See searchable variables for data objects using names and view contents
## Not run: names(GatherDataObjectInformation(MyEOLs[1]))
## Not run: GatherDataObjectInformation(MyEOLs[1])$source

#One way to get all the english text back from a single EOL file
## Not run: 
  DOI <- GatherDataObjectInformation(MyEOLs[1])
  text <- which(which(DOI$mimeType == "text/html") 
    "en"))
  DOI$description[text]

## End(Not run)