R/DBHydro_Insight.R
insight_fetch_wq.Rd
using the new data management platform DBHydro Insights, this function using the Districts API access to retrieve data from the database
insight_fetch_wq(
startDate,
endDate,
station_id,
test_number,
methods = NULL,
projects = NULL,
matrices = NULL,
paramGroups = NULL,
sampleTypes = NULL,
reportType = "timeseries",
format = "csv",
...
)
Required as a Date as.Date
or other format (i.e. as.POSIXct
)
Required as a Date as.Date
or other format (i.e. as.POSIXct
)
SFWMD Water Quality Monitoring location https://insights.sfwmd.gov/#/mappage/site
The DBHydro 1 to 4 digit test number, see details
A 1 to 3 letter code for the method of sample collection, see details
DBHydro water quality project codes
A 1 to 3 letter code for the sampling material
Letter code for the parameter group, see details
A letter code defining sample and other type of samples (i.e. QC/QC)
default is timeseries
default is csv
not used, to pass argument along to other functions, in the future.
For test_number
, methods
,projects
,matrices
,sampleTypes
and others
see the insight_ref()
function for the corresponding tables.
For paramGroups
O: organics
N: nutrients
M: metals
P: physical parameters
B: biological
F: field
MI: major ions
MIS: miscellaneous