neon_import {neonstore}R Documentation

Import a previously exported zip archive of raw NEON files

Description

neon_import() only reads in previously saved archives from neon_export(). This can be useful in cases where see neon_download() to download data directly from NEON.

Usage

neon_import(archive, overwrite = TRUE, dir = neon_dir())

Arguments

archive

path to the zip archive to be imported

overwrite

should we overwrite any existing files?

dir

Location where files should be downloaded. By default will use the appropriate applications directory for your system (see tools::R_user_dir()). This default also be configured by setting the environmental variable NEONSTORE_HOME, see Sys.setenv or Renviron.

See Also

neon_export()

Examples


## tempfiles for example purposes only!
archive <- tempfile()
neondir <- tempdir() 


neon_export(archive, dir = neondir)
neon_import(archive)


[Package neonstore version 0.5.1 Index]