Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OECD package maintenance #21

Open
xtimbeau opened this issue Dec 13, 2021 · 4 comments
Open

OECD package maintenance #21

xtimbeau opened this issue Dec 13, 2021 · 4 comments

Comments

@xtimbeau
Copy link

Hi there seems to be a change in the datastructure, as some fuinctions of the package are not functionning anymore (they were a few weeks ago).
for instance:
OECD::get_data_structure("SNA_TABLE11")
throws an error

Error in data.frame(data_structure@concepts) : 
  trying to get slot "concepts" from an object (class "data.frame") that is not an S4 object 

It doesn't looks like it very heavy but it would be nice if done.
By the way, some data fileds have changed names, which is not really cool.

@xtimbeau
Copy link
Author

it's back! Working again.

@mjantti
Copy link

mjantti commented Jan 9, 2022

I had the same problem working with the CRAN version, which was fixed by installing instead the development version from github. Now, on the other hand, I get an error using get_dataset(). I tested replacing (as done in get_data_structure) readsdmx::read_sdmx() with rsdmx::readSDMX followed by an as.data.frame, which seems to work. Such hacking seems clunky though.

@mabuimo
Copy link

mabuimo commented Jan 21, 2022

The get_data_structure function is not working properly in the CRAN version

OECD::get_data_structure("DUR_D")
Error in data.frame(data_structure@concepts) :
trying to get slot "concepts" from an object (class "data.frame") that is not an S4 object

@drchriscole
Copy link

I get this error with both the CRAN and github versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants