rWBclimate icon indicating copy to clipboard operation
rWBclimate copied to clipboard

Invalid links

Open RotemZel opened this issue 1 year ago • 0 comments

WBclimate::get_historical_precip("BRA", time_scale="month") results in "Error: lexical error: invalid char in json text. <!doctype html> (right here) ------^"

checking the function shows get_climate_data <- function(locator,geo_type,type, cvar, start, end){ base_url <- "[http://climatedataapi.worldbank.org/climateweb/rest/v1/](http://climatedataapi.worldbank.org/climateweb/rest/v1/)"

which leads to an invalid link

RotemZel avatar Mar 16 '23 12:03 RotemZel