0

I have been trying to download datasets from the OECD using R.

library(OECD)

search_dataset("transport")

Error in read_xml.response(httr::GET(url, ...)): Not Found (HTTP 404). and

get_datasets()

Error in read_xml.response(httr::GET(url, ...)) : Not Found (HTTP 404).

Only this command works when I specify the particular data set that I want to download, e.g., get_dataset(dataset = "ITF_GOODS_TRANSPORT")

I tried to use various ways of installing the OECD package, such as

remotes::install_github("https://github.com/expersso/OECD")

library(devtools)
 devtools::install_version("OECD", version = "0.2.4", repos = "https://stat.ethz.ch/CRAN/")

install.packages("remotes")
remotes::install_github("jsicherman/GemmAPI")
1

1 Answer 1

0

It seems that the OECD search_datasets() and get_datasets() functions are disabled, you can search for the data you want on OECD Data Explorer, click on "Developer API", and use the generated URL to f t https://www.oecd.org/en/data/insights/data-explainers/2024/09/api.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.