readNWMdata | R Documentation |
Download hourly flow values for an NHD COMID from the National Water Model version 1.2 or 2.0. Returned data is available between "1993-01-01 00" and "2017-12-31 23" but can be subset using a startDate and endDate.
readNWMdata( comid = NULL, siteID = NULL, startDate = "1993-01-01", endDate = "2018-12-31", tz = "UTC", version = 2 )
comid |
a NHD common identifier |
startDate |
a start date (YYYY-MM-DD) or (YYYY-MM-DD HH) |
endDate |
an end date (YYYY-MM-DD) or (YYYY-MM-DD HH) |
tz |
the desired timezone of the data. Can be found with 'OlsonNames()' |
version |
the NWM version to extract (current = 1.2 or 2.0 (default)) |
siteNumber |
a USGS NWIS site number (eight digits) |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.