ropensci / tidyhydat

An R package to import Water Survey of Canada hydrometric data and make it tidy
https://docs.ropensci.org/tidyhydat
Apache License 2.0
70 stars 19 forks source link

realtime_ws() marking all station inputs as not found #204

Closed pausoto7 closed 1 month ago

pausoto7 commented 1 month ago

realtime_ws() no longer recognizes stations when input with new update as far as I can tell. I have tried many different stations and the result is always the same. e.g.

ws_08 <- tidyhydat::realtime_ws( station_number = c("08NL071", "08NM174"),
parameters = c(47, 5)

Error in tidyhydat::realtime_ws(station_number = c("08NL071", "08NM174"), : object '"08NM174"' not found

flow_real_time <- tidyhydat::realtime_ws( station_number = "10MA003", parameters = 47, start_date = Sys.Date()-30, end_date = Sys.Date()

Error in tidyhydat::realtime_ws(station_number = "10MA003", parameters = 47, : object '"10MA003"' not found

It was working fine earlier today until I updated all my packages including tidyhydat. So I suspect it has something to do with the tidyhydat update or its dependencies.

Thanks!

boshek commented 1 month ago

@pausoto7 - I assume it is working for you again? It is working for me right now.