R/eol_dataobjects.R
eol_dataobjects.Rd
Given the identifier for a data object, return all metadata about the object
eol_dataobjects(id, taxonomy = TRUE, language = NULL, ...)
(character) The EOL data object identifier
(logical) Whether to return any taxonomy details from
different taxon hierarchy providers, in an array named taxonconcepts
(character) provides the results in the specified language. one of ms, de, en, es, fr, gl, it, nl, nb, oc, pt-BR, sv, tl, mk, sr, uk, ar, zh-Hans, zh-Hant, ko
Curl options passed on to crul::HttpClient
A list, optionally with a data.frame if taxonomy=TRUE
It's possible to return JSON or XML with the EOL API. However, this function only returns JSON for now.
if (FALSE) {
eol_dataobjects(id = 7561533)
# curl options
eol_dataobjects(id = 7561533, verbose = TRUE)
}