Parse taxon names using the GBIF name parser.

Share:

Description

Parse taxon names using the GBIF name parser.

Usage

1
parsenames(scientificname, ...)

Arguments

scientificname

A character vector of scientific names.

...

Further named parameters, such as query, path, etc, passed on to modify_url within GET call. Unnamed parameters will be combined with config.

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

http://www.gbif.org/developer/species#parser

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
parsenames('x Agropogon littoralis')
parsenames(c('Arrhenatherum elatius var. elatius',
             'Secale cereale subsp. cereale', 'Secale cereale ssp. cereale',
             'Vanessa atalanta (Linnaeus, 1758)'))
parsenames("Ajuga pyramidata")
parsenames("Ajuga pyramidata x reptans")

# Pass on options to httr
# library('httr')
# res <- parsenames(c('Arrhenatherum elatius var. elatius',
#             'Secale cereale subsp. cereale', 'Secale cereale ssp. cereale',
#             'Vanessa atalanta (Linnaeus, 1758)'), config=progress())

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.