get_nwc_wb_data: Get data from an NWC source.

Description Usage Arguments Value Author(s) Examples

Description

This function builds a request and returns the the data in question.

Usage

1
2
get_nwc_wb_data(huc, start_date = "1980-09-30", end_date = "2010-10-01",
  local = FALSE, return_var = "all")

Arguments

huc

The watershed of interest.

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.

local

TRUE/FALSE to request local watershed or total upstream watershed data.

return_var

A character vector specifying which variables are of interest. Choose from "all", "et", "prcp", "discharge", and "streamflow". Discharge is the modeled discharge for the HUC. Streamflow, if available is monitored streamflow near the outlet of the HUC.

Value

The data.

Author(s)

David Blodgett dblodgett@usgs.gov

Examples

1
NWCdata<-get_nwc_wb_data(huc="031601030306")

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