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

Error with SDMXStructureType validation when validate = TRUE #149

Closed
kenarab opened this issue May 16, 2018 · 1 comment
Closed

Error with SDMXStructureType validation when validate = TRUE #149

kenarab opened this issue May 16, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@kenarab
Copy link

kenarab commented May 16, 2018

When running a modification of default example from readSDMX help file for validating SDMX-ML:

url <- paste("http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/",
              "cdh_e_fos/all/?startperiod=2000&endPeriod=2010",
              sep = "")
sdmx <- readSDMX(url,validate = TRUE)

Returns an error:

Error in switch(type, DataflowsType = TRUE, ConceptsType = TRUE, CodelistsType = TRUE,  : 
  EXPR must be a length 1 vector 

I downloaded package and debugued it and the problem is in getStructureType is obj@subtype is null

@eblondel eblondel self-assigned this May 17, 2018
@eblondel eblondel added the bug label May 17, 2018
@eblondel eblondel added this to the 0.5 milestone May 17, 2018
@eblondel
Copy link
Member

Fixed

@eblondel eblondel changed the title Error when trying to valide SDMX-ML Error with SDMXStructureType validation when validate = TRUE May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants