nneo_data | R Documentation |
Data
nneo_data(product_code, site_code, year_month, package = NULL, ...) nneo_file(product_code, site_code, year_month, filename, ...)
product_code |
(character) a product code. required. |
site_code |
(character) a site code. required. |
year_month |
(character) YYYY-MM month to check for files. required. |
package |
(character) Package type to return, basic or expanded. optional. |
... |
named curl options passed on to |
filename |
(character) a file name. optional. |
nneo_data
gets files available for a given
product/site/month combination.
nneo_file
gets a file, and returns a data.frame
nneo_data
returns a list, while nneo_file
returns
a tibble/data.frame
## Not run: nneo_data(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05") nneo_data(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05") ## with a package nneo_data(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05", package = "basic") nneo_data(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05", package = "expanded") ## with a file name fname <- "NEON.D19.HEAL.DP1.00098.001.003.000.030.RH_30min.2016-05.expanded.20171026T085604Z.csv" nneo_file(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05", filename = fname) ## curl options nneo_data(product_code = "DP1.00098.001", site_code = "HEAL", year_month = "2016-05", verbose = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.