📊 Add child labor aggregates from ILO-UNICEF#5902
Draft
paarriagadap wants to merge 35 commits intomasterfrom
Draft
📊 Add child labor aggregates from ILO-UNICEF#5902paarriagadap wants to merge 35 commits intomasterfrom
paarriagadap wants to merge 35 commits intomasterfrom
Conversation
Contributor
|
Quick links (staging server):
Login: chart-diff: ✅
data-diff: ❌ Found differences= Dataset garden/un/2026-02-03/ilostat
= Table regions
= Table ilostat
~ Column employment_by_sex_and_status_in_employment (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column labour_force_by_sex_and_age (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column labour_force_participation_rate_by_sex_and_age (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column obs_status_labour_force_participation_rate_by_sex_and_age (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column obs_status_unemployment_rate_by_sex_and_age (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column share_employment_by_sex_and_status_in_employment (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
~ Column unemployment_rate_by_sex_and_age (changed metadata)
- - This data comes from the ILO Modelled Estimates series. The [The International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ + This data comes from the ILO Modelled Estimates series. The [International Labour Organization (ILO)](#dod:ilo) combines countries' own reported estimates with statistically modeled estimates when observations are missing. This improves comparability across countries and over time and allows the ILO to calculate regional and global aggregates for every year. You can read more about how the ILO produces these estimates in the [Modelled Estimates documentation](https://ilostat.ilo.org/methods/concepts-and-definitions/ilo-modelled-estimates/).
+ Dataset garden/un/2026-04-08/child_labor_report
+ + Table child_labor
+ + Column number_child_labor
+ + Column share_child_labor
+ + Column number_hazardous_work
+ + Column share_hazardous_work
+ + Column number_child_labor_not_in_school
+ + Column share_child_labor_not_in_school
+ + Column number_hazardous_work_not_in_school
+ + Column share_hazardous_work_not_in_school
+ + Column share_child_labor_incl_household_chores
+ + Table sector
+ + Column number_child_labor
+ + Column share_child_labor
+ + Column number_hazardous_work
+ + Column share_hazardous_work
Legend: +New ~Modified -Removed =Identical Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippetAutomatically updated datasets matching excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included Edited: 2026-04-14 16:56:30 UTC |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nize categories Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…into main table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…stant Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…YEAR Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rs by 1000 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nds table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…age group - Snapshot: add page 8 chart data (household chores, not-in-school shares) to trends CSV - Garden: extract special rows, compute 5-14 bracket, merge as columns Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ig 14 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Hi @veronikasamborska1994! This one was clearly guided by Claude, because the extraction came from many places. I guess checking every detail of the code is not needed. |
This file contains hidden or 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
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.
Summary
New dataset from the ILO-UNICEF 2024 Global Estimates of Child Labour report. Extracts data from both the statistical annex tables (pages 54–58) and chart labels throughout the report (pages 8, 9, 30, 34, 44) using
pdfplumber.Data sources
Output tables
child_labor— main table, index:[country, year, sex, age]share_child_labor,number_child_labor— child labour prevalenceshare_hazardous_work,number_hazardous_work— hazardous work prevalenceshare_child_labor_not_in_school,number_child_labor_not_in_school— not attending school (child labour)share_hazardous_work_not_in_school,number_hazardous_work_not_in_school— not attending school (hazardous work)share_child_labor_incl_household_chores— including household chores (≥21h/week)sector— sector distribution, index:[country, year, sector, sex, age]share_child_labor,number_child_labor,share_hazardous_work,number_hazardous_workPipeline
pdfplumber(table extraction for annex, word position analysis for chart labels). All chart-derived data defined as constants in the snapshot script.@codex review
🤖 Generated with Claude Code