Skip to content

duplicate extra metadata #9

@mountainMath

Description

@mountainMath

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions