Probably because sbtools has changed, I'm now getting unpretty errors when I request certain site-timeseries combos in explore_timeseries():
> explore_timeseries()
Loading required package: shiny
Listening on http://127.0.0.1:7575
Assuming 'lon' and 'lat' are longitude and latitude, respectively
Assuming 'lon' and 'lat' are longitude and latitude, respectively
Error in grepl(expected_databases, as.character(sitenum)) :
argument "sitenum" is missing, with no default
Assuming 'lon' and 'lat' are longitude and latitude, respectively
Assuming 'lon' and 'lat' are longitude and latitude, respectively
Assuming 'lon' and 'lat' are longitude and latitude, respectively
Assuming 'lon' and 'lat' are longitude and latitude, respectively
downloading file:depth_calcDischHarvey
downloading file:depth_calcDischHarvey
Error in sbtools_GET(url = paste0(pkg.env$url_item, id), ..., query = list(type = "json"), :
Invalid Item ID
downloading file:veloc_calcDischRaymond
downloading file:veloc_calcDischRaymond
Error in sbtools_GET(url = paste0(pkg.env$url_item, id), ..., query = list(type = "json"), :
Invalid Item ID
i think this occurs when a ts isn't available for one of the sites requested. But that early grepl error suggests that there might [also?] be a problem with site name parsing.
Probably because sbtools has changed, I'm now getting unpretty errors when I request certain site-timeseries combos in explore_timeseries():
i think this occurs when a ts isn't available for one of the sites requested. But that early
grepl
error suggests that there might [also?] be a problem with site name parsing.