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

Specific OECD series not parsing to data.frame #136

Closed
expersso opened this issue Oct 24, 2017 · 3 comments
Closed

Specific OECD series not parsing to data.frame #136

expersso opened this issue Oct 24, 2017 · 3 comments
Assignees
Milestone

Comments

@expersso
Copy link
Contributor

Dear Emmanuel,

I'm trying to fetch this file using readSDMX and then coerce to data.frame, but without success:

df <- rsdmx::readSDMX("http://stats.oecd.org/restsdmx/sdmx.ashx/GetData/HEALTH_HCQI/AUS/all?")
as.data.frame(df)
Error in getNodeSet(obsXML, paste("//ns:", timeElement, sep = ""), namespaces = ns)[[1]] : 
  subscript out of bounds

I can't seem to figure out what's causing this.

@eblondel eblondel self-assigned this Oct 25, 2017
@eblondel
Copy link
Member

Hi @expersso the reason is that this particular data doesn't handle explicit time dimension. Fortunately i already fixed the issue in #133. What you need to is to update to rsdmx 0.5.10, which remains to be released on CRAN. I did some tests for pushing it, and they are some CRAN check issues that I have to analyze, but in this period unfortunately I don't have time available to look into that.

Can you try with rsdmx 0.5-10 and confirm it works for you?

@expersso
Copy link
Contributor Author

I can confirm that installing rsdmx 0.5-10 indeed resolves the issue. Thank a lot for the quick response!

@eblondel eblondel added this to the 0.5 milestone Nov 2, 2017
@eblondel
Copy link
Member

eblondel commented Nov 2, 2017

@expersso FYI rsdmx 0.5-10 has been published in CRAN

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

No branches or pull requests

2 participants