rasterFlow: Raster Plot of Daily Streamflow.

Description Usage Arguments Value Examples

View source: R/rasterFlow.R

Description

Downloads and plots all daily streamflow for a single USGS NWIS streamgage ID.

Usage

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)

Arguments

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?

Value

Raster/heatmap of streamflow and downloaded raw data.

Examples

1

ssaxe-usgs/prettyWater documentation built on May 5, 2019, 1:32 a.m.