
Download Enterococcus data from the Water Quality Portal
Source:R/read_importentero.R
read_importentero.RdDownload Enterococcus data from the Water Quality Portal
Arguments
- stas
character, a vector of stations. If
NULL, defaults to all stations incatchprecip.- startDate
character, starting date of observations as YYYY-MM-DD
- endDate
character, ending date of observations as YYYY-MM-DD
Value
a data frame containing one row for each sample. Columns returned are:
datedate, sample date
yrnumeric, year of sample date
monumeric, month of sample date
timecharacter, sample time
time_zonecharacter, sample time zone
long_namecharacter, long name of bay segment subwatershed
bay_segmentcharacter, short name of bay segment subwatershed
stationcharacter, sample station
enteronumeric, Enterococcus concentration
entero_censoredlogical, whether
enterovalue was below the laboratoryMDL, minimum detection limitMDLnumeric, minimum detection limit at the time of processing
entero_unitscharacter, units of measurement for
enteroqualifierqualifier codes associated with sample
LabCommentslab comments on sample
Latitudenumeric, latitude in decimal degrees
Longitudenumeric, longitude in decimal degrees
Details
Retrieves Enterococcus sample data from selected stations and date range from the Water Quality Portal, https://www.waterqualitydata.us