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

Allow multi-level input in ApplyKlass #29

Open
sjentoft opened this issue Jun 27, 2024 · 0 comments
Open

Allow multi-level input in ApplyKlass #29

sjentoft opened this issue Jun 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sjentoft
Copy link
Collaborator

sjentoft commented Jun 27, 2024

If the input variable contains different levels of heirarchical classifications, only the majority level will be returned. For example in occupation:

ApplyKlass(c("2222", "2223", "2211", "221"), klass = 7)
[1] "Jordmødre" "Sykepleiere"
[3] "Allmennpraktiserende leger" NA

@sjentoft sjentoft added the enhancement New feature or request label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant