getTaxonList | R Documentation |
This is a function to retrieve a taxon table from the NEON data portal for a given taxon type and provide it in a tractable format.
getTaxonList(
taxonType = NA,
recordReturnLimit = NA,
stream = "true",
verbose = "false",
token = NA
)
taxonType |
The taxonTypeCode to access. Must be one of ALGAE, BEETLE, BIRD, FISH, HERPETOLOGY, MACROINVERTEBRATE, MOSQUITO, MOSQUITO_PATHOGENS, SMALL_MAMMAL, PLANT, TICK [character] |
recordReturnLimit |
The number of items to limit the result set to. If NA (the default), will return either the first 100 records, or all records in the table, depending on the value of ‘stream'. Use 'stream=’true'' to get all records. [integer] |
stream |
True or false, obtain the results as a stream. Utilize for large requests. Note this is lowercase true and false as character strings, not logical. [character] |
verbose |
True or false, include all possible taxonomic parameters. Defaults to false, only essential parameters. Note this is lowercase true and false as character strings, not logical. [character] |
token |
User specific API token (generated within neon.datascience.org user account) [character] |
Data frame with selected NEON taxonomic data
Eric R. Sokol esokol@battelleecology.org
License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
# taxonTypeCode must be one of
# ALGAE, BEETLE, BIRD, FISH,
# HERPETOLOGY, MACROINVERTEBRATE,
# MOSQUITO, MOSQUITO_PATHOGENS,
# SMALL_MAMMAL, PLANT, TICK
#################################
# get the first 4 fish taxa
taxa_table <- getTaxonList('FISH', recordReturnLimit = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.