neon_cloud.Rd
neon cloud
neon_cloud(
table,
product,
start_date = NA,
end_date = NA,
site = NA,
type = "basic",
release = NA,
quiet = FALSE,
api = "https://data.neonscience.org/api/v0",
unify_schemas = FALSE,
.token = Sys.getenv("NEON_TOKEN")
)
NEON table name
A NEON productCode
or list of product codes, see examples.
Download only files as recent as (YYYY-MM-DD
). Leave
as NA
to download up to the most recent available data.
Download only files up to end_date (YYYY-MM-DD
). Leave as
NA
to download all prior data.
4-letter site code(s) to filter on. Leave as NA
to search all.
Should we prefer the basic or expanded version of this product? Note that not all products have expanded formats.
Select only data files associated with a particular release tag, see https://www.neonscience.org/data-samples/data-management/data-revisions-releases, e.g. "RELEASE-2021". Releases are associated with a specific DOI and the promise that files associated with a particular release will not change.
Should download progress be displayed?
the URL to the NEON API, leave as default.
if cloud-read fails to collect data due to miss-matched
schemas, set this to TRUE
. Warning: Results in much slower reads and may
demand more memory due to parsing the schema of each file, especially when
many files are involved.
an authentication token from NEON. A token is not
required but will allow access to a higher number of requests before
rate limiting applies, see
https://data.neonscience.org/data-api/rate-limiting/#api-tokens.
Note that once files are downloaded once, neonstore
provides persistent
access to them without further interaction required with the API.
lazy data frame