Learn R Programming

neonstore (version 0.2.1)

neon_store: Show tables that have been downloaded to the neon store

Description

Show tables that have been downloaded to the neon store

Usage

neon_store(
  product = NA,
  table = NA,
  site = NA,
  start_date = NA,
  end_date = NA,
  ext = NA,
  hash = NULL,
  dir = neon_dir()
)

Arguments

product

Include only files matching this NEON productCode(s)

table

Include only files matching this table name (or regex pattern). (optional).

site

4-letter site code(s) to filter on. Leave as NA to search all.

start_date

Download only files as recent as (YYYY-MM-DD). Leave as NA to download up to the most recent available data.

end_date

Download only files up to end_date (YYYY-MM-DD). Leave as NA to download all prior data.

ext

only match files with this file extension(s)

hash

name of a hashing algorithm to check file integrity. Can be "md5", "sha1", or "sha256" currently; or set to NULL (default) to skip hash computation.

dir

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

Details

The table names displayed can be read in using neon_read. Optionally, specify a NEON productCode to view only tables associated with a specific product.

Only downloaded tables will be displayed. Users can view all available NEON data products using neon_products to choose which ones to download into the store.

neon_store() does not need to access the API and thus does not require an internet connection or incur rate limiting on requests.

See Also

neon_products, neon_download, neon_index

Examples

Run this code
# NOT RUN {
neon_store()


# }

Run the code above in your browser using DataLab