Description Usage Arguments Details Value Examples
View source: R/other_strflow_get.R
GetCoDwrData
downloads and processes CO DWR data from web feed.
1 2 | GetCoDwrData(siteIDs, paramCodes, timeInt = 1, startDate = NULL,
endDate = NULL)
|
siteIDs |
A single site ID or vector of site IDs to download and process. Site IDs should match the standardized CO DWR IDs (e.g., "RIOALACO" for RIO GRANDE RIVER AT ALAMOSA). |
paramCodes |
A single or list of parameter codes to download. CO DWR parameters include (list not inclusive) GAGE_HT, DISCHRG, AIRTEMP, COND, DO, DO_SAT, PH, PRECIP, TDS, TURBID, WATTEMP, WATTEMP2. |
timeInt |
Time interval to download. Options are "raw", "hourly", or "daily". (DEFAULT="raw"). Note that the hourly and daily options are means. |
startDate |
(OPTIONAL) The start date to download for (format "mm/dd/yy"). |
endDate |
(OPTIONAL) The end date to download for (format "mm/dd/yy"). |
GetCoDwrData
downloads Colorado Department of Water Resources data for
specified sites and outputs a dataframe with consistent date and data columns
for use with other rwrfhydro tools.
dataframe
1 2 3 4 | ## Not run:
str.RIO <- GetCoDwrData(c("RIOSFKCO", "RIOWAGCO","RIODELCO"),
paramCodes=c("GAGE_HT", "DISCHRG"), timeInt="hourly",
startDate="06/01/14", endDate="06/30/14")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.