batch_USGSdv: Process USGS daily values

View source: R/download_USGS.R

batch_USGSdvR Documentation

Process USGS daily values

Description

This function is basically a wrapper around readNWISdv but includes added variables like water year, lat/lon, station name, altitude and tidied dates.

Usage

batch_USGSdv(
  sites,
  parameterCd = "00060",
  start_date = "",
  end_date = "",
  parallel = FALSE,
  ...
)

Arguments

sites

A vector of USGS NWIS sites

parameterCd

A USGS code for metric, default is "00060".

start_date

A character of date format, e.g. "1990-09-01"

end_date

A character of date format, e.g. "1990-09-01"

parallel

logical indicating whether to use future_map().

...

arguments to pass on to future_map.

Value

A data.frame with daily mean flow and added meta-data.


joshualerickson/wildlandhydRo documentation built on Feb. 12, 2024, 6:40 p.m.