taxize (version 0.1.5)

eol_search: Search for terms in EOL database.

Description

Search for terms in EOL database.

Usage

eol_search(terms, page = 1, exact = NULL,
    filter_tid = NULL, filter_heid = NULL,
    filter_by_string = NULL, cache_ttl = NULL, key = NULL,
    callopts = list())

Arguments

terms
search terms (character)
page
A maximum of 30 results are returned per page. This parameter allows you to fetch more pages of results if there are more than 30 matches (Default 1)
exact
Will find taxon pages if the preferred name or any synonym or common name exactly matches the search term.
filter_tid
Given an EOL page ID, search results will be limited to members of that taxonomic group
filter_heid
Given a Hierarchy Entry ID, search results will be limited to members of that taxonomic group
filter_by_string
Given a search term, an exact search will be made and that matching page will be used as the taxonomic group against which to filter search results
cache_ttl
The number of seconds you wish to have the response cached.
key
Your EOL API key; loads from .Rprofile.
callopts
Further args passed on to GET.

Value

  • JSON list object, or data.frame.

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_search('Homo')
eol_search(terms='Salix')
eol_search(terms='Ursus americanus luteolus')

Run the code above in your browser using DataLab