Description Usage Arguments Value Examples
Downloads and plots all daily streamflow for a single USGS NWIS streamgage ID.
1 2 3 4 | rasterFlow(site_id = "04085427", startDate = "", endDate = "",
main = NULL, pCode = "00060", dataRaw = "X_00060_00003",
yearLines = F, contourLines = F, contourQuantiles = c(0.6, 0.95),
verbose = T, returnData = F)
|
site_id |
USGS NWIS streamgage ID, 8 digits long in character format. |
startDate |
Start date in YYYY-MM-DD format. Leave as ” if all time period required. |
endDate |
End date in YYYY-MM-DD format. Leave as ” if all time period required. |
main |
Main title of plot. If left as NULL, site_id used. |
pCode |
Parameter code. Defaults to streamflow. |
dataRaw |
Column name of value in downloaded raw datafile. |
yearLines |
Should years be delineated? |
contourLines |
Should contour lines be drawn? |
contourQuantiles |
At what percentiles should contour lines be drawn? |
verbose |
Should progress be written to console? |
returnData |
Should downloaded data be returned in raw df format? |
Raster/heatmap of streamflow and downloaded raw data.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.