Closed iembry closed 3 years ago
Hi @iembry , thanks for the issue. It might be just a wording issue, but I'll look into it
I've updated the documentation and removed the entry to val.label. The code and documentation might not be entirely consistent (I've worked on this with larger breaks in between), but nothing is lost and everything apart from the documentation looks correct. If you want to further improve this, pull requests on code or documentation are always welcome.
@JanMarvin Thank you for making the changes to the documentation. I appreciate that.
Greetings. In the description of the returned data.frame objects in read.sav, the following are defined:
val.label
= value labelsvar.label
= variable labelsWithin the actual R code, the following exists:
val.labels <- attribs$vallabels
# line 155attr(data, "var.label") <- val.labels
# line 514Shouldn't var.label (variable labels) be a different attribute than val.label (value labels)?
Thank you in advance.