Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getTaxonTable

Get NEON taxon table


Description

This is a function to retrieve a taxon table from the NEON data portal for the taxon type by the enduser.

Usage

getTaxonTable(
  taxonType = NA,
  recordReturnLimit = NA,
  stream = "true",
  token = NA
)

Arguments

taxonType

Character string for the taxonTypeCode. Must be one of ALGAE, BEETLE, BIRD, FISH, HERPETOLOGY, MACROINVERTEBRATE, MOSQUITO, MOSQUITO_PATHOGENS, SMALL_MAMMAL, PLANT, TICK

recordReturnLimit

Integer. The number of items to limit the result set to. If NA, will return all records in table.

stream

Character string, true or false. Option to obtain the result as a stream. Utilize for large requests.

token

User specific API token (generated within neon.datascience user accounts)

Value

data frame with selected NEON data

Author(s)

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007

Examples

# taxonTypeCode must be one of	
# ALGAE, BEETLE, BIRD, FISH,	
# HERPETOLOGY, MACROINVERTEBRATE, 
# MOSQUITO, MOSQUITO_PATHOGENS,	
# SMALL_MAMMAL, PLANT, TICK	
#################################	
# return the first 4 fish records	
taxa_table <- getTaxonTable('FISH', recordReturnLimit = 4)

neonUtilities

Utilities for Working with NEON Data

v2.0.1
AGPL-3
Authors
Claire Lunch [aut, cre, ctb], Christine Laney [aut, ctb], Nathan Mietkiewicz [aut, ctb], Eric Sokol [aut, ctb], Kaelin Cawley [aut, ctb], NEON (National Ecological Observatory Network) [aut]
Initial release
2021-03-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.