Search for pages in EOL database using a taxonconceptID.
eol_pages(taxonconceptID, iucn = FALSE, images = 0, videos = 0,
sounds = 0, maps = 0, text = 0, subjects = "overview",
licenses = "all", details = FALSE, common_names = FALSE,
synonyms = FALSE, references = FALSE, taxonomy = TRUE, vetted = 0,
cache_ttl = NULL, key = NULL, ...)
The taxonconceptID (numeric), which is also the page number.
Include the IUCN Red List status object (Default: FALSE
)
Limits the number of returned image objects (values 0 - 75)
Limits the number of returned video objects (values 0 - 75)
Limits the number of returned sound objects (values 0 - 75)
Limits the number of returned map objects (values 0 - 75)
Limits the number of returned text objects (values 0 - 75)
'overview' (default) to return the overview text (if exists), a pipe | delimited list of subject names from the list of EOL accepted subjects (e.g. TaxonBiology, FossilHistory), or 'all' to get text in any subject. Always returns an overview text as a first result (if one exists in the given context).
A pipe | delimited list of licenses or 'all' (default) to get objects under any license. Licenses abbreviated cc- are all Creative Commons licenses. Visit their site for more information on the various licenses they offer.
Include all metadata for data objects. (Default: FALSE
)
Return all common names for the page's taxon
(Default: FALSE
)
Return all synonyms for the page's taxon
(Default: FALSE
)
Return all references for the page's taxon
(Default: FALSE
)
(logical) Whether to return any taxonomy details from
different taxon hierarchy providers, in an array named taxonconcepts
(Default: TRUE
)
If 'vetted' is given a value of '1', then only trusted
content will be returned. If 'vetted' is '2', then only trusted and
unreviewed content will be returned (untrusted content will not be returned).
The default is to return all content. (Default: FALSE
)
The number of seconds you wish to have the response cached.
Your EOL API key; see taxize-authentication
for help on authentication
Curl options passed on to HttpClient
JSON list object, or data.frame.
It's possible to return JSON or XML with the EOL API. However, this function only returns JSON for now.
# NOT RUN {
(pageid <- eol_search('Pomatomus')$pageid[1])
eol_pages(taxonconceptID=pageid)$scinames
# }
Run the code above in your browser using DataLab