CSIimport_NERRS | R Documentation |
Read in NERRS-format unit value salinity file.
CSIimport_NERRS(file, mindays = 15)
file |
character The NERRS-format unit-value file to import (either through the Data Graphing and Export System or through the Advanced Query System; see website for reference: http://cdmo.baruch.sc.edu/get/landing.cfm). |
mindays |
integer the minimum number of daily values (any number of values per day) needed to produce a mean value for a given month (default 15). Months with fewer data values than this will be asigned mean NA. |
A salinity object data.frame for calculating CSI values; has Year and Month timestamp columns, with column of site salinity values.
# NERRS-format data file
data_path <- system.file("extdata", "NIWDCWQ.csv.zip", package="CSI")
unzip(data_path, exdir = getwd())
sal <- CSIimport_NERRS("NIWDCWQ.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.