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

remove duplicated values in labels; fixed issue #79 #80

Merged
merged 1 commit into from
Feb 27, 2019
Merged

Conversation

jeffeaton
Copy link
Collaborator

fix #79

This arose as an issue due to change in haven 2.1.0 from this commit: tidyverse/haven@ac15324b

The issue I found was that in some cases the same value was duplicated in the value labels parsed from the DCF file. For example in the "MVIR71FL.ZIP" dataset, for variable v128 the code 96 was repeated twice:

Browse[3]> values[[49]]
                 NATURAL                 No walls              RUDIMENTARY Thin plywood/wood sticks        Thatch and sticks              Reused wood 
                      10                       11                       20                       24                       25                       26 
                FINISHED                   Cement   Stone with lime/cement                   Bricks                    Other                    Other 
                      30                       31                       32                       33                       96                       96 
   Not a dejure resident                  Missing 
                      97                       99 

@OJWatson OJWatson merged commit 8fe5a2d into master Feb 27, 2019
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

Successfully merging this pull request may close these issues.

ALIR71FL parser error
2 participants