if (FALSE) {
# A single name usage
name_usage(key=1)
# Name usage for a taxonomic name
name_usage(name='Puma', rank="GENUS")
# Name usage for all taxa in a dataset
# (set sufficient high limit, but less than 100000)
# name_usage(datasetKey = "9ff7d317-609b-4c08-bd86-3bc404b77c42",
# limit = 10000)
# All name usages
name_usage()
# References for a name usage
name_usage(key=2435099, data='references')
# Species profiles, descriptions
name_usage(key=3119195, data='speciesProfiles')
name_usage(key=3119195, data='descriptions')
name_usage(key=2435099, data='children')
# Vernacular names for a name usage
name_usage(key=3119195, data='vernacularNames')
# Limit number of results returned
name_usage(key=3119195, data='vernacularNames', limit=3)
# Search for names by dataset with datasetKey parameter
name_usage(datasetKey="d7dddbf4-2cf0-4f39-9b2a-bb099caae36c")
# Search for a particular language
name_usage(key=3119195, language="FRENCH", data='vernacularNames')
# get root usage with a uuid
name_usage(data = "root", uuid = "73605f3a-af85-4ade-bbc5-522bfb90d847")
# search by language
name_usage(language = "spanish")
# Pass on curl options
name_usage(name='Puma concolor', limit=300, curlopts = list(verbose=TRUE))
# look up iucn red list category
name_usage(key = 7707728, data = 'iucnRedListCategory')
}
Run the code above in your browser using DataLab