Skip to content

Eurostat Data Marriages_by_sex_and_previous_marital_status & Population_on_1_January_by_age_and_sex#2051

Open
pravnkumar-cloudsufi wants to merge 1 commit into
datacommonsorg:masterfrom
cloudsufi:eurostat_data_marriage_population
Open

Eurostat Data Marriages_by_sex_and_previous_marital_status & Population_on_1_January_by_age_and_sex#2051
pravnkumar-cloudsufi wants to merge 1 commit into
datacommonsorg:masterfrom
cloudsufi:eurostat_data_marriage_population

Conversation

@pravnkumar-cloudsufi
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces two new Eurostat statistical variable imports: "Marriages by sex and previous marital status" and "Population on 1 January by age and sex". Each import includes metadata, property-value mappings, place resolution configurations, automated execution scripts, and test datasets. Feedback on the changes suggests mapping the infant cohort Y_LT1 to [0 0 Years] in the population property-value map instead of ignoring it, which prevents data loss for this critical age group.

# --- Age Group Normalization ---
age:TOTAL,age,"",,,
age:UNK,#ignore,Zero values for unknown age,,,
age:Y_LT1,#ignore,Ignore infant rows,,,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Instead of ignoring the infant cohort Y_LT1 (under 1 year old), map it to [0 0 Years] so that the demographic data for age 0 is preserved. This prevents data loss for a critical cohort and ensures that total population sums across ages remain accurate.

age:Y_LT1,age,"[0 0 Years]",,,

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.

2 participants