Return summary data a taxon name with a given id.

Usage

tp_summary(id, format = "json", output = "df", url = "http://services.tropicos.org/Name/",
  key = NULL)

Arguments

id
the taxon identifier code
format
return in json or xml format (defaults to json)
output
raw = json or xml; or df = data.frame
url
The Tropicos url for the function (should be left to default).
key
Your Tropicos API key; loads from .Rprofile.

Value

List or dataframe.

Description

Return summary data a taxon name with a given id.

Examples

tp_summary(id = 25509881)
http://services.tropicos.org/Name/25509881?apikey=f3e499d4-1519-42c9-afd1-685a16882f5a&format=json
.id 1 NameId 2 ScientificName 3 ScientificNameWithAuthors 4 Family 5 SynonymCount 6 AcceptedNameCount 7 Rank 8 RankAbbreviation 9 NomenclatureStatusID 10 NomenclatureStatusName 11 Symbol 12 Genus 13 SpeciesEpithet 14 Source 15 Citation 16 Copyright 17 Author V1 1 25509881 2 Poa annua 3 Poa annua L. 4 Poaceae 5 88 6 0 7 species 8 sp. 9 1 10 Legitimate 11 ! 12 Poa 13 annua 14 http://www.tropicos.org/Name/25509881 15 Tropicos.org. Missouri Botanical Garden. 20 Jan 2013 <http://www.tropicos.org/Name/25509881> 16 © 2013 Missouri Botanical Garden - 4344 Shaw Boulevard - Saint Louis, Missouri 63110 17 L.
tp_summary(id = 25509881, output = 'raw')
http://services.tropicos.org/Name/25509881?apikey=f3e499d4-1519-42c9-afd1-685a16882f5a&format=json
$NameId [1] 25509881 $ScientificName [1] "Poa annua" $ScientificNameWithAuthors [1] "Poa annua L." $Family [1] "Poaceae" $SynonymCount [1] "88" $AcceptedNameCount [1] "0" $Rank [1] "species" $RankAbbreviation [1] "sp." $NomenclatureStatusID [1] 1 $NomenclatureStatusName [1] "Legitimate" $Symbol [1] "!" $Genus [1] "Poa" $SpeciesEpithet [1] "annua" $Source [1] "http://www.tropicos.org/Name/25509881" $Citation [1] "Tropicos.org. Missouri Botanical Garden. 20 Jan 2013 <http://www.tropicos.org/Name/25509881>" $Copyright [1] "© 2013 Missouri Botanical Garden - 4344 Shaw Boulevard - Saint Louis, Missouri 63110" $Author [1] "L."