taxize (version 0.1.5)

get_colid: Get the Catalogue of Life ID from taxonomic names.

Description

Get the Catalogue of Life ID from taxonomic names.

Usage

get_colid(sciname, ask = TRUE, verbose = TRUE)

Arguments

sciname
character; scientific name.
ask
logical; should get_colid be run in interactive mode? If TRUE and more than one ID is found for the species, the user is asked for input. If FALSE NA is returned for multiple matches.
verbose
logical; If TRUE the actual taxon queried is printed on the console.

Value

  • A vector of unique identifiers. If a taxon is not found NA. If more than one ID is found the function asks for user input.

See Also

get_tsn, get_uid, get_tpsid, get_eolid

Examples

Run this code
get_colid(sciname='Poa annua')
get_colid(sciname='Pinus contorta')
get_colid(sciname='Puma concolor')

get_colid(c("Poa annua", "Pinus contorta"))

# When not found
get_colid(sciname="uaudnadndj")
get_colid(c("Chironomus riparius", "uaudnadndj"))

Run the code above in your browser using DataCamp Workspace