50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

taxize (version 0.6.0)

eol_dataobjects: Given the identifier for a data object, return all metadata about the object

Description

Given the identifier for a data object, return all metadata about the object

Usage

eol_dataobjects(id, asdf = TRUE, usekey = TRUE, key = NULL,
  verbose = TRUE, ...)

Arguments

id
(character) The EOL data object identifier
asdf
(logical) Return "list" or "data.frame". Default: TRUE (return data.frame)
usekey
(logical) use your API key or not (TRUE or FALSE)
key
(character) Your EOL API key; can load from .Rprofile if not passed as a parameter
verbose
(logical); If TRUE the actual taxon queried is printed on the console.
...
Curl options passed on to GET

Value

  • List or dataframe (default).

Details

It's possible to return JSON or XML with the EOL API. However, this function only returns JSON for now.

Examples

Run this code
eol_dataobjects(id = "d72801627bf4adf1a38d9c5f10cc767f")
eol_dataobjects(id = "21929584")
eol_dataobjects(id = "21929584", FALSE)

Run the code above in your browser using DataLab