Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address sites with multiple flow measurements #48

Open
lindsayplatt opened this issue Nov 7, 2018 · 0 comments
Open

Address sites with multiple flow measurements #48

lindsayplatt opened this issue Nov 7, 2018 · 0 comments

Comments

@lindsayplatt
Copy link
Contributor

There are some sites that have multiple timeseries. How do we switch from one to the next? And determine which stat to use?

sites_with_mult_flow_ts <- c("01574500", "03292555", "06903900", "08188590")

dv_stat <- 
  dataRetrieval::readNWISstat(
    siteNumbers = sites_with_mult_flow_ts,
    parameterCd = "00060",
    statType = paste0("P", c("05","10","20","25","50","75","80","90","95")),
    statReportType="daily"
  ) %>% 
  filter(month_nu == 9, day_nu >= 12 & day_nu <= 19)

dv_stat %>% select(site_no, day_nu, ts_id, loc_web_ds) %>% arrange(site_no, day_nu)

dv_data <- 
  dataRetrieval::readNWISdata(
    service = "dv",
    siteNumbers = problem_sites,
    parameterCd = "00060",
    startDate = "2018-09-12",
    endDate = "2018-09-19"
  ) %>% dataRetrieval::renameNWISColumns()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant