New way to set base urls in ckanr
install.packages("devtools")
devtools::install_github("ropensci/ckanr")
library("ckanr")
The default base url can be retrieved with:
get_ckanr_url()
#> [1] "http://data.nhm.ac.uk"
You can change the base url for the session (this isn't preserved across R sessions) by
set_ckanr_url("http://data.nhm.ac.uk")
Now check to see that it's changed
get_ckanr_url()
#> [1] "http://data.nhm.ac.uk"
You can still set the url in each function call if you want via the url
parameter.