View source: R/importStreamflows.R
importStreamflows | R Documentation |
Reads in all streamflow files within folders (unless subset is specified) and returns a list of dataframes indexed by basin id of the stream gauge data.
importStreamflows(folder, subset = FALSE, verbose = TRUE, ...)
folder |
name/path streamflow folder (e.g., 'usgs_streamflow') |
subset |
string vector of basin ids to import (optional, otherwise imports all) |
verbose |
T/F to determine whether to print importing status |
... |
optional arguments passed to read.streamflow() |
list of dataframes
Leland Scantlebury
basinSubset <- c('01013500','10259200','14137000', '08198500','03592718','03604000') streamflows <- importStreamflows('basin_dataset_public_v1p2/usgs_streamflow', subset = basinSubset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.