Hello, this package has been very handy for our research project - thanks very much for developing it.
Recently, the cdec_stations() function started throwing a 404 error (specifically, "Error in open.connection(x, "rb") : HTTP error 404.") For example, the error comes up if you run this code:
Hello, this package has been very handy for our research project - thanks very much for developing it.
Recently, the cdec_stations() function started throwing a 404 error (specifically, "Error in open.connection(x, "rb") : HTTP error 404.") For example, the error comes up if you run this code:
library(CDECRetrieve) sisq_stations = cdec_stations(county = "siskiyou")
I investigated the cause and I think it's because the CDEC Station Search service is no longer at https://cdec.water.ca.gov/cgi-progs/staSearch. The new service might be at this url: https://cdec.water.ca.gov/dynamicapp/staSearch
Flagging this in case you want to update it to reference the new webpage.