You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm apprehensive about digging in to the eurostat R package and changing the API. Does anyone else have this issue? Will the package be updated in CRAN?
R code
library(eurostat)
check_access_to_data()
# Get Eurostat data listing
toc <- get_eurostat_toc()
head(toc)
# Search for ID
search_eurostat("HICP - monthly data (monthly rate of change)")
id <- search_eurostat("HICP - monthly data (monthly rate of change)",
type = "dataset")$code[1]
print(id)
As is written in the Eurostat documentation you linked, the problem you are describing is related to Eurostat phasing out the old Bulk Download Listing functionalities and moving on to other means to distribute data. Your problem should be fixed by updating the eurostat package to version 4.0.0.
Hi All,
I have been having some difficulty using the R eurostat package. Apparently it's related to this link "Migrating from Bulk Download Listing urls to API urls".
I'm apprehensive about digging in to the eurostat R package and changing the API. Does anyone else have this issue? Will the package be updated in CRAN?
R code
library(eurostat)
check_access_to_data()
# Get Eurostat data listing
toc <- get_eurostat_toc()
head(toc)
# Search for ID
search_eurostat("HICP - monthly data (monthly rate of change)")
id <- search_eurostat("HICP - monthly data (monthly rate of change)",
type = "dataset")$code[1]
print(id)
dat_source_monthly_rate_of_change <- get_eurostat(id, time_format = "date")
# Error message
Error in open.connection(3L, "rb") :
cannot open the connection to 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&downfile=table_of_contents_en.txt'
The text was updated successfully, but these errors were encountered: