Skip to contents

Create a USGS hymetDP-formatted dataset

Usage

create_USGS_hymet(site, param, start, end)

Arguments

site

(character) A USGS site code or list of site codes. Discover site codes with dataRetrieval::whatNWISsites().

param

(character) A USGS parameter code or list of parameter codes. Discover parameter codes with dataRetrieval::whatNWISdata().

start

(character) Starting datetime for data query. Format date strings as YYYY-MM-DD, datetime strings as YYYY-MM-DDThh:mm:ssZ. Format must match end parameter format.

end

(character) Ending datetime for data query. Format date strings as YYYY-MM-DD,

Value

A list of hymetDP tables

Examples

if (FALSE) {
site <- c("06879650", "50065500")
param <- c("00060")
start <- c("2020-06-01T12:30:00Z")
end <- c("2021-01-01T12:30:00Z")

usgs_hymet <- create_USGS_hymet(site, param, start, end)

}