-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
📊 cohort adjusted years #3700
Merged
Merged
📊 cohort adjusted years #3700
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quick links (staging server):
Login: chart-diff: ✅
data-diff: ❌ Found differences= Dataset garden/demography/2024-12-03/fertility_rate
= Table fertility_rate
= Dataset garden/hmd/2024-11-19/hfd
= Table period
= Table period_ages
= Table cohort_ages
= Table cohort
~ Dim country
+ + New values: 4192 / 8212 (51.05%)
cohort birth_order country
1991 5p Denmark
1994 5p Denmark
1986 1 Hungary
1991 1 Japan
1997 5p Portugal
~ Dim cohort
+ + New values: 4192 / 8212 (51.05%)
country birth_order cohort
Denmark 5p 1991
Denmark 5p 1994
Hungary 1 1986
Japan 1 1991
Portugal 5p 1997
~ Dim birth_order
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order
Denmark 1991 5p
Denmark 1994 5p
Hungary 1986 1
Japan 1991 1
Portugal 1997 5p
~ Column ccf (changed metadata, new data)
- - The average number of children born to women in a specific cohort over their lifetime.
? ^^^^ ^^^^
+ + The average number of children born to women in the current cohort over their lifetime.
? ^^ + ^^^^^^
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order ccf
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column ccf40 (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order ccf40
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column ccf_plus15y (changed metadata, new data, changed data)
- - {}
+ + title: |-
+ + <% set title = "Completed cohort fertility rate (adjusted +15 years)" %>
+ + <% if birth_order == 'total' %>
+ + << title >> - Total
+ + <%- elif birth_order == '5p' %>
+ + << title >> - Birth order: ≥5
+ + <%- else %>
+ + << title >> - Birth order: << birth_order >>
+ + <%- endif %>
+ + description_short: |-
+ + <% if birth_order == 'total' %>
+ + The average number of children born to women in the 15-years-ago cohort over their lifetime.
+ + <%- else %>
+ + The average number of<% if birth_order == '1' %>
+ + first
+ + <%- elif birth_order == '2' %>
+ + second
+ + <%- elif birth_order == '3' %>
+ + third
+ + <%- elif birth_order == '4' %>
+ + fourth
+ + <%- elif birth_order == '5p' %>
+ + fifth (or greater)
+ + <% endif %> children born to women in a specific cohort over their lifetime.
+ + <%- endif %>
+ + description_key:
+ + - Represents the completed fertility of a cohort by the end of their reproductive years.
+ + - Useful for comparing fertility across different cohorts.
+ + - Calculated from age-specific fertility rates observed throughout the cohort's reproductive lifespan.
+ + origins:
+ + - producer: Human Fertility Database
+ + title: Human Fertility Database
+ + description: |-
+ + The HFD is entirely based on one and the same type of initial data - officially registered birth counts by calendar year, mother's age (and/or cohort) and (whenever possible) biological birth order. These data, together with total female population exposure from the Human Mortality Database (www.mortality.org) and parity-specific female population exposure from selected population censuses, population registers, or large-scale surveys, are further processed using a uniform set of methods. The major HFD output includes detailed data on births, unconditional and conditional fertility rates, cohort and period fertility tables as well as selected aggregate indicators such as total fertility rates, mean ages at childbearing, and parity progression ratios.
+ +
+ + For each country, there are four blocks of data provided:
+ +
+ + - Summary Indicators
+ + - Age-Specific Data
+ + - Fertility Tables
+ + - Input Data
+ +
+ + More details at https://www.humanfertility.org/Data/ExplanatoryNotes, and https://www.humanfertility.org/File/GetDocumentFree/Docs/methods.pdf.
+ + citation_full: |-
+ + Human Fertility Database. Max Planck Institute for Demographic Research (Germany) and Vienna Institute of Demography (Austria). Available at www.humanfertility.org (data downloaded on 2024-11-19).
+ + attribution_short: HFD
+ + url_main: https://www.humanfertility.org/Home/Index
+ + url_download: https://www.humanfertility.org/File/Download/Files/zip/HFD.zip
+ + date_accessed: '2024-11-19'
+ + date_published: '2024-05-23'
+ + license:
+ + name: CC BY 4.0
+ + url: https://www.mortality.org/Data/UserAgreement
+ + unit: births per woman
+ + display:
+ + numDecimalPlaces: 2
+ + presentation:
+ + topic_tags:
+ + - Fertility Rate
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order ccf_plus15y
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Changed values: 1924 / 8212 (23.43%)
country cohort birth_order ccf_plus15y - ccf_plus15y +
Denmark 1973 4 NaN 0.06
England & Wales 1970 total NaN 2.008
Finland 1949 total NaN 2.325
Hungary 1954 1 NaN 0.909
Portugal 1972 2 NaN 0.668
~ Column ccf_plus30y (changed metadata, new data, changed data)
- - {}
+ + title: |-
+ + <% set title = "Completed cohort fertility rate (adjusted +30 years)" %>
+ + <% if birth_order == 'total' %>
+ + << title >> - Total
+ + <%- elif birth_order == '5p' %>
+ + << title >> - Birth order: ≥5
+ + <%- else %>
+ + << title >> - Birth order: << birth_order >>
+ + <%- endif %>
+ + description_short: |-
+ + <% if birth_order == 'total' %>
+ + The average number of children born to women in the 30-years-ago cohort over their lifetime.
+ + <%- else %>
+ + The average number of<% if birth_order == '1' %>
+ + first
+ + <%- elif birth_order == '2' %>
+ + second
+ + <%- elif birth_order == '3' %>
+ + third
+ + <%- elif birth_order == '4' %>
+ + fourth
+ + <%- elif birth_order == '5p' %>
+ + fifth (or greater)
+ + <% endif %> children born to women in a specific cohort over their lifetime.
+ + <%- endif %>
+ + description_key:
+ + - Represents the completed fertility of a cohort by the end of their reproductive years.
+ + - Useful for comparing fertility across different cohorts.
+ + - Calculated from age-specific fertility rates observed throughout the cohort's reproductive lifespan.
+ + origins:
+ + - producer: Human Fertility Database
+ + title: Human Fertility Database
+ + description: |-
+ + The HFD is entirely based on one and the same type of initial data - officially registered birth counts by calendar year, mother's age (and/or cohort) and (whenever possible) biological birth order. These data, together with total female population exposure from the Human Mortality Database (www.mortality.org) and parity-specific female population exposure from selected population censuses, population registers, or large-scale surveys, are further processed using a uniform set of methods. The major HFD output includes detailed data on births, unconditional and conditional fertility rates, cohort and period fertility tables as well as selected aggregate indicators such as total fertility rates, mean ages at childbearing, and parity progression ratios.
+ +
+ + For each country, there are four blocks of data provided:
+ +
+ + - Summary Indicators
+ + - Age-Specific Data
+ + - Fertility Tables
+ + - Input Data
+ +
+ + More details at https://www.humanfertility.org/Data/ExplanatoryNotes, and https://www.humanfertility.org/File/GetDocumentFree/Docs/methods.pdf.
+ + citation_full: |-
+ + Human Fertility Database. Max Planck Institute for Demographic Research (Germany) and Vienna Institute of Demography (Austria). Available at www.humanfertility.org (data downloaded on 2024-11-19).
+ + attribution_short: HFD
+ + url_main: https://www.humanfertility.org/Home/Index
+ + url_download: https://www.humanfertility.org/File/Download/Files/zip/HFD.zip
+ + date_accessed: '2024-11-19'
+ + date_published: '2024-05-23'
+ + license:
+ + name: CC BY 4.0
+ + url: https://www.mortality.org/Data/UserAgreement
+ + unit: births per woman
+ + display:
+ + numDecimalPlaces: 2
+ + presentation:
+ + topic_tags:
+ + - Fertility Rate
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order ccf_plus30y
Denmark 1991 5p 0.025
Denmark 1994 5p 0.028
Hungary 1986 1 0.922
Japan 1991 1 0.823
Portugal 1997 5p 0.024
~ Changed values: 666 / 8212 (8.11%)
country cohort birth_order ccf_plus30y - ccf_plus30y +
Bulgaria 1962 1 NaN 0.906
Canada 1938 total NaN 2.775
Hungary 1969 1 NaN 0.909
United States 1951 1 NaN 0.865
United States 1957 3 NaN 0.554
~ Column cmab (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order cmab
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column cmab40 (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order cmab40
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column ppr (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order ppr
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column sdcmab (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order sdcmab
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
~ Column sdcmab40 (new data)
+ + New values: 4192 / 8212 (51.05%)
country cohort birth_order sdcmab40
Denmark 1991 5p <NA>
Denmark 1994 5p <NA>
Hungary 1986 1 <NA>
Japan 1991 1 <NA>
Portugal 1997 5p <NA>
Legend: +New ~Modified -Removed =Identical Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included Edited: 2024-12-11 17:00:43 UTC |
⌛ Merge Schedule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Shift completed cohort fertility rate by +15 and +30 years, so that we can easily compare it with period TFR.
/schedule