Closed charlesknightsbridge closed 13 years ago
Some .epx files will have no value labels. Catch this in get.epidata.value.labels with:
y <- xmlElementsByTagName(x, "ValueLabelSet", rec = TRUE) if (xmlSize(y)==0) return(NULL)
Thanks. I've added this.
Some .epx files will have no value labels. Catch this in get.epidata.value.labels with:
y <- xmlElementsByTagName(x, "ValueLabelSet", rec = TRUE) if (xmlSize(y)==0) return(NULL)