R/DBHYDRO_WQ.R
DBHYDRO_WQ.Rd
Data retrieval from South Florida Water Management District online database (DBHYDRO)
DBHYDRO_WQ(
date_min = NULL,
date_max = NULL,
station_id = NA,
test_number = NA,
collect_method = NULL,
matrix = "SW",
cust_str = NULL,
Exclude.FieldQC = T,
Exclude.Flagged = T,
sample_type = "SAMP",
target_code = "file_csv"
)
input start date as.Date (YYYY-MM-DD)
input end date as.Date
SFWMD Water Quality Monitoring location, see details
corresponds to SFWMD data management system
default is NULL but can specify G, GP, ACF, ACT, ADT
default is "SW" for surface water
custom sql query string to add to link (not implemented)
true/false field, DEFAULT is TRUE
true/false field, DEFAULT is TRUE
default 'SAMP'
default file_csv but can have "screen" and default browser will launch
This function returns water quality dataset from the SFWMD monitoring network (https://apps.sfwmd.gov/WAB/EnvironmentalMonitoring/index.html). This function assumes some familiarity with the District monitoring network and data management. .
Sample Type definitions include SAMP=Sample, RS=Replicate Sample, SS= Split Sample, EB=Equipment Blank, FCEB=Field Cleaned Equipment Blank, FD=Field Duplicate
matrix default is "SW" for surface water other variables including "BAL","BAN","DI","BFE","BFI","GW","PERI","BPL","PW","RA","SE","SO","UNK"
target_code can be either "file_csv" (for CSV) and "screen" (launch default browser). Other formats like "file_txt" (for fixed column width) and "file_pdf" (for pdf) and "screen" (launch default browser) have not been implemented
station_id can use wildcard character but not in combination with wildcard and non-wildcard (i.e. S12%, S333)