build_nwc_flow_dataset: Builds a date, streamflow, drainage area dataset of NWC...

Description Usage Arguments Examples

Description

Takes a list of hucs 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
2
build_nwc_flow_dataset(hucs, start_date = "1980-10-01",
  end_date = "2010-09-30")

Arguments

hucs

A character vector of 12-digit HUCs.

start_date

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

end_date

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

Examples

1
2
3
4
hucs <- c("031601020108","031501100104")
start_date <- "2008-10-01"
end_date <- "2010-09-30"
build_nwc_flow_dataset(hucs, start_date, end_date)

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