build_nwis_dv_dataset: Builds a date, streamflow, drainage area dataset of NWIS site...

Description Usage Arguments Examples

Description

Takes a list of sites and a start and end date of interest. Returns a named list containing dates, streamflow, and drainage area. Units are square miles and cubic feet per second.

Usage

1
build_nwis_dv_dataset(sites, start_date, end_date)

Arguments

sites

A character vector of NWIS sites.

start_date

A string representation of the start date in YYYY-MM-DD format.

end_date

A string representation of the end date in YYYY-MM-DD format.

Examples

1
2
3
4
sites <- c("02177000","02178400")
start_date <- "2008-10-01"
end_date <- "2010-09-30"
build_nwis_dv_dataset(sites, start_date, end_date)

USGS-R/NWCCompare documentation built on May 9, 2019, 6:10 p.m.