name_parse {rgbif} | R Documentation |
Parse taxon names using the GBIF name parser.
Description
Parse taxon names using the GBIF name parser.
Usage
name_parse(scientificname, curlopts = list())
Arguments
scientificname |
A character vector of scientific names. |
curlopts |
list of named curl options passed on to
|
Value
A data.frame
containing fields extracted from parsed
taxon names. Fields returned are the union of fields extracted from
all species names in scientificname
.
Author(s)
John Baumgartner (johnbb@student.unimelb.edu.au)
References
https://www.gbif.org/developer/species#parser
Examples
## Not run:
name_parse(scientificname='x Agropogon littoralis')
name_parse(c('Arrhenatherum elatius var. elatius',
'Secale cereale subsp. cereale', 'Secale cereale ssp. cereale',
'Vanessa atalanta (Linnaeus, 1758)'))
name_parse("Ajuga pyramidata")
name_parse("Ajuga pyramidata x reptans")
# Pass on curl options
# res <- name_parse(c('Arrhenatherum elatius var. elatius',
# 'Secale cereale subsp. cereale', 'Secale cereale ssp. cereale',
# 'Vanessa atalanta (Linnaeus, 1758)'), curlopts=list(verbose=TRUE))
## End(Not run)
[Package rgbif version 3.8.0 Index]