read_pepdo | R Documentation |
Import dissolved oxygen data
read_pepdo(
site = c("01304562", "01304200", "01304650"),
nms = c("Peconic River", "Orient Harbor", "Shelter Island"),
startDate = "2013-01-01",
endDate = "2023-12-31"
)
site |
chr string of site numbers for USGS stations |
nms |
chr string vector of names to reassign to site numbers |
startDate |
chr string of start date in YYYY-MM-DD |
endDate |
chr string of end date in YYYY-MM-DD |
Raw data are downloaded using the USGS dataRetrieval R package, this function is a simple wrapper to the readNWISuv
function.
Note that downloading the station data with the default arguments may take a few minutes. Sites are 01304562 for Peconic River, 01304200 for Orient Harbor, 01304650 for Shelter Island.
data.frame
## Not run:
dodat <- read_pepdo(site = c('01304562', '01304200', '01304650'),
nms = c('Peconic River', 'Orient Harbor', 'Shelter Island'),
StartDate = '2020-06-01', endDate = '2021-06-30')
dodat
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.