I'm trying to map the UK census data in R for lower super output areas.
The 'nomisR' package is installing successfully, but the first time I try to run a function to access data (e.g. 'nomis_data_info', 'nomis_get_data' or 'nomis_search') I get the same error. Here's what happens when I run the code from the R documentation:
jobseekers_country <- nomis_get_data(
id = "NM_1_1", time = "latest",
geography = "TYPE499",
measures = c(20100, 20201), sex = 5)
Error in curl::curl_fetch_memory(url, handle = handle) :
SSL certificate problem: certificate has expired
I have tried installing Rcurl and curl packages, and running different things on the terminal to prepare my system. There seems to be lots of discussion online about certificate problems with other packages that use API's. Any ideas greatly appreciated! Thanks
I'm trying to map the UK census data in R for lower super output areas.
The 'nomisR' package is installing successfully, but the first time I try to run a function to access data (e.g. 'nomis_data_info', 'nomis_get_data' or 'nomis_search') I get the same error. Here's what happens when I run the code from the R documentation:
I have tried installing Rcurl and curl packages, and running different things on the terminal to prepare my system. There seems to be lots of discussion online about certificate problems with other packages that use API's. Any ideas greatly appreciated! Thanks