neon_export | R Documentation |
Export all or select files from your neon store as a zip archive. This can be useful if you want to bypass accessing the API, such as for archiving the files required for your analysis so that they can be re-created by other users without an API key, or without waiting for the individual download, or any other tiem you want to share or distribute your local store.
neon_export(
archive = paste(Sys.Date(), "neonstore.zip", sep = "-"),
product = NA,
table = NA,
site = NA,
start_date = NA,
end_date = NA,
type = NA,
ext = NA,
timestamp = NA,
hash = NULL,
dir = neon_dir()
)
archive |
path to the zip archive to be created.#' |
product |
A NEON |
table |
Include only files matching this table name (or regex pattern). (optional). |
site |
4-letter site code(s) to filter on. Leave as |
start_date |
Download only files as recent as ( |
end_date |
Download only files up to end_date ( |
type |
Should we prefer the basic or expanded version of this product? Note that not all products have expanded formats. |
ext |
only match files with this file extension(s) |
timestamp |
only match timestamps prior this. See details in |
hash |
name of a hashing algorithm to check file integrity. Can be
|
dir |
Location where files should be downloaded. By default will
use the appropriate applications directory for your system
(see |
table of selected files and metadata, from neon_index()
, invisibly.
neon_import()
, neon_citation()
archive <- tempfile()
dir <- tempdir()
neon_export(archive, dir = dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.