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

duplicate extra metadata #9

Open
mountainMath opened this issue Apr 5, 2024 · 0 comments
Open

duplicate extra metadata #9

mountainMath opened this issue Apr 5, 2024 · 0 comments

Comments

@mountainMath
Copy link
Owner

When building metadata for Canadian census variables requiring a base variable tongfen will add duplicate base variables if two different census variables require the same base variable.

This happens for example when selecting average before and after tax income:

meta <- meta_for_ca_census_vectors(c(income_2021="v_CA21_915",incomeAT_2021="v_CA21_916",rent_2021="v_CA21_4318",
                                     income_2016="v_CA16_4985",incomeAT_2016="v_CA16_4986",rent_2016="v_CA16_4901")) 

Adding extra variables should check to avoid duplication.

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

No branches or pull requests

1 participant