Title: | Simple Ecological Statistics from the NEON Network |
---|---|
Description: | Provides simple statistics from instruments and observations at sites in the NEON network, and acts as a simple interface for v0 of the National Ecological Observatory Network (NEON) API. Statistics are generated for meteorologic and soil-based observations, and are presented for daily, annual, and one-time observations at all available NEON sites. Users can also retrieve any dataset publicly hosted by NEON. Metadata for NEON sites and data products can be returned, as well as information on data product availability by site and date. For more information on NEON, please visit <https://www.neonscience.org>. For detailed data product information, please see the NEON data product catalog at <https://data.neonscience.org/data-product-catalog>. |
Authors: | Robert Lee <[email protected]> |
Maintainer: | Robert Lee <[email protected]> |
License: | GPL-3 |
Version: | 0.1.0 |
Built: | 2025-02-27 03:30:56 UTC |
Source: | https://github.com/cran/Z10 |
This function calculates the daily precipitation totals over the specified date range
daily.precip.totals(site, bgn.date, end.date)
daily.precip.totals(site, bgn.date, end.date)
site |
Parameter of class character. The NEON site data should be downloaded for. |
bgn.date |
Optional. The start date of the period to generate statistics for. If not supplied, the first date of NEON data will be used. |
end.date |
Optional. The end date of the period to generate statistics for. If not supplied, the last date of NEON data will be used. |
A data frame of primary and secondary precipitation totals by date. Totals are in millimeters.
Robert Lee [email protected]
Currently none
## Not run: # Return the entire period of record at CPER cper=Z10::daily.precip.totals(site = "CPER") ## End(Not run)
## Not run: # Return the entire period of record at CPER cper=Z10::daily.precip.totals(site = "CPER") ## End(Not run)
This function calculates the daily daylight mean and maximum total solar radiation values for a site over the specified date range.
daily.rad.stats(site, bgn.date, end.date)
daily.rad.stats(site, bgn.date, end.date)
site |
Parameter of class character. The NEON site data should be downloaded for. |
bgn.date |
Optional. The start date of the period to generate statistics for. If not supplied, the first date of NEON data will be used. |
end.date |
Optional. The end date of the period to generate statistics for. If not supplied, the last date of NEON data will be used. |
Mean and maximum daylight total solar radiation values by date, in watts per meter squared.
Robert Lee [email protected]
Currently none
## Not run: # Return radiaiton stats for CPER over the summer solstice cper=Z10::daily.rad.stats(site = "CPER") # More information on the radiation data product used: Z10::get.dp.meta("DP1.00014.001")$product.abstract ## End(Not run)
## Not run: # Return radiaiton stats for CPER over the summer solstice cper=Z10::daily.rad.stats(site = "CPER") # More information on the radiation data product used: Z10::get.dp.meta("DP1.00014.001")$product.abstract ## End(Not run)
This function calculates the daily miniumum, mean, and maximum temperature values for a site over its period of record for soil sensors located in plot 1 of the site, at the lowest available instrument in each soil horizon.
daily.soil.temp.mean(site, bgn.date, end.date)
daily.soil.temp.mean(site, bgn.date, end.date)
site |
Parameter of class character. The NEON site data should be downloaded for. |
bgn.date |
Optional. The start date of the period to generate statistics for. If not supplied, the first date of NEON data will be used. |
end.date |
Optional. The end date of the period to generate statistics for. If not supplied, the last date of NEON data will be used. |
A mean daily soil temperatures, by soil horizon, in degrees centigrade.
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::daily.soil.temp.mean(site = "CPER") ## End(Not run)
## Not run: cper=Z10::daily.soil.temp.mean(site = "CPER") ## End(Not run)
This function calculates the daily miniumum, mean, and maximum temperature values for a site over its period of record.
daily.temp.stats(site, bgn.date, end.date)
daily.temp.stats(site, bgn.date, end.date)
site |
Parameter of class character. The NEON site data should be downloaded for. |
bgn.date |
Optional. The start date of the period to generate statistics for. If not supplied, the first date of NEON data will be used. |
end.date |
Optional. The end date of the period to generate statistics for. If not supplied, the last date of NEON data will be used. |
A list of min, mean and max temperature values at the site, in centigrade
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::daily.temp.stats(site = "CPER") ## End(Not run)
## Not run: cper=Z10::daily.temp.stats(site = "CPER") ## End(Not run)
Get dates of data product availability by NEON site.
dp.avail(dp.id)
dp.avail(dp.id)
dp.id |
Parameter of class character. The data product code in question. See http://data.neonscience.org/data-product-catalog for a complete list. |
A list of named data frames
Robert Lee [email protected]
Currently none
## Not run: wind=Z10::dp.avail(dp.id = "DP1.00002.001") ## End(Not run)
## Not run: wind=Z10::dp.avail(dp.id = "DP1.00002.001") ## End(Not run)
For a given keyword or search string, a data frame of possible data products will be returned. The search is performed against the data product names, not full data product descriptions. If the R session is interactive, candidate data product information will also print in the console. The data product IDs are used in other Z10 functions to return data.
dp.search(keyword)
dp.search(keyword)
keyword |
Parameter of class character. The search phrase used when searching through data product names. |
A data frame of data product names and their associated data product IDs
Robert Lee [email protected]
Currently none
## Not run: names=Z10::dp.search(keyword="fish") ## End(Not run)
## Not run: names=Z10::dp.search(keyword="fish") ## End(Not run)
For the specified dates, site, package parameters, and data product or name of family of data products, data are downloaded and saved to the specifed directory.
get.data(dp.id, site, month, save.dir)
get.data(dp.id, site, month, save.dir)
dp.id |
Parameter of class character. The data product code in question. See http://data.neonscience.org/data-product-catalog for a complete list. |
site |
Parameter of class character. The NEON site data should be downloaded for. |
month |
Parameter of class character. The year-month (e.g. "2017-01") of the month to get data for.d, defaults to basic. |
save.dir |
Optional, parameter of class character. The local directory where data files should be saved. |
A list of named data frames
Robert Lee [email protected]
Currently none
## Not run: cper_wind=Z10::get.data(site = "CPER", dp.id = "DP1.00002.001", month = "2017-04") ## End(Not run)
## Not run: cper_wind=Z10::get.data(site = "CPER", dp.id = "DP1.00002.001", month = "2017-04") ## End(Not run)
Return detailed NEON data product metadata.
get.dp.meta(dp.id)
get.dp.meta(dp.id)
dp.id |
Parameter of class character. The data product code in question. |
Nested lists of data product metadata
Robert Lee [email protected]
Currently none
## Not run: wind_meta=get.dp.meta(dp.id = "DP1.00002.001") ## End(Not run)
## Not run: wind_meta=get.dp.meta(dp.id = "DP1.00002.001") ## End(Not run)
Return detailed NEON site metadata.
get.site.meta(site)
get.site.meta(site)
site |
Parameter of class character. The NEON site data should be downloaded for. |
A list of named data frames
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::get.site.meta(site = "CPER") ## End(Not run)
## Not run: cper=Z10::get.site.meta(site = "CPER") ## End(Not run)
This function calculates the daily miniumum, mean, and maximum precipitation values for a site over its period of record.
map(site)
map(site)
site |
Parameter of class character. The NEON site data should be downloaded for. |
A list of min, mean and max precipitaiton values at the site, in milimeters
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::map(site = "CPER") ## End(Not run)
## Not run: cper=Z10::map(site = "CPER") ## End(Not run)
This function calculates the miniumum, mean, and maximum temperature values for a site over its period of record.
mat(site)
mat(site)
site |
Parameter of class character. The NEON site data should be downloaded for. |
A list of min, mean and max temperature values at the site, in centigrade
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::mat(site = "CPER") ## End(Not run)
## Not run: cper=Z10::mat(site = "CPER") ## End(Not run)
This function summarizes the root masses from all live roots in 10 cm depth increments
root.mass(site)
root.mass(site)
site |
Parameter of class character. The NEON site data should be downloaded for. |
Data frame of the average root mass measured in a given depth range
Robert Lee [email protected]
Currently none
## Not run: SCBI=Z10::root.mass(site = "SCBI") ## End(Not run)
## Not run: SCBI=Z10::root.mass(site = "SCBI") ## End(Not run)
This function calculates the mean delta values for nitrogen-15 and carbon-13 isotopes over the period of record at a site.
site.litter.isotopes(site)
site.litter.isotopes(site)
site |
Parameter of class character. The NEON site data should be downloaded for. |
A list of min, mean and max net solar radiation values at the site, in watts per meter squared
Robert Lee [email protected]
Currently none
## Not run: cper=Z10::site.litter.isotopes(site = "SCBI") ## End(Not run)
## Not run: cper=Z10::site.litter.isotopes(site = "SCBI") ## End(Not run)