knitr::opts_chunk$set(echo = TRUE)
library( prettyWater ) rasterFlow( site_id = '04085427' )
This package contains the function rasterFlow() for importing and plotting streamflow from a single streamgage in raster format.
devtools::install_github( "ssaxe-usgs/prettyWater" )
library( prettyWater ) rasterFlow( site_id = '04085427' )
library( prettyWater ) rasterFlow( site_id = '04085427', yearLines = T )
library( prettyWater ) rasterFlow( site_id = '04085427', contours = T )
library( prettyWater ) q <- rasterFlow( site_id = '04085427', returnData = T ) head(q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.