Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ db/data/ons/oa21_wd24_lad24_lookup/ew_oa21_ward24_lad24_bestfit.csv -diff
db/data/welshgov/council_tax_dwellings_2023_24_to_2026_27/statswales_council_tax_dwellings_by_authority_and_band.csv -diff
db/data/hmrc/pension_contribution_relief_2023_24/Tables_6_1_and_6_2.csv -diff
db/data/hmrc/winter_fuel_payment_charge_2025/winter-fuel-payments-charge.html -diff
db/data/ons/aps218_occupation_apr_2024_mar_2025/aps218_occupation_apr_2024_mar_2025.csv -diff
db/data/ons/aps218_occupation_jan_dec_2025/aps218_occupation_jan_dec_2025.csv -diff
db/data/ons/aps218_occupation_apr_2025_mar_2026/aps218_occupation_apr_2025_mar_2026.csv -diff
# Preserve hash-pinned publisher bytes, including original line endings/spacing.
db/data/stats_nz/subnational_population_estimates_2025/subnational-population-estimates-at-30-june-2025-provisional.xlsx binary
db/data/stats_nz/regional_council_2025_codes/regional-council-2025-codes.json binary
Expand Down
1 change: 1 addition & 0 deletions changelog.d/uk-occupation-facts-407.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add the UK occupation facts chronicle#407 asks for (PolicyEngine/microcosm#1490). From Nomis APS218: people in employment by SOC 2020 major and sub-major group, sex and employment type, for the UK, its countries and the English regions, April 2024 to March 2025, January to December 2025 and April 2025 to March 2026, each estimate with the half-width of its confidence interval where Nomis publishes one, and Nomis's reliability flags in each fact's lineage. From ONS ASHE Table 2: gross weekly and annual pay (median, mean and percentiles) and the number of jobs by two-digit SOC 2020, sex and working pattern, United Kingdom, 2024 revised, 2025 revised and 2026 provisional, with the coefficients of variation ONS publishes for each. Suppressed cells emit no fact. The label register gives SOC 2020 major group 3 its SOC 2020 name, "Associate professional occupations".
15 changes: 15 additions & 0 deletions chronicle/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@
"obr-salary-sacrifice-costing-february-2026",
"ofgem-energy-price-cap-levels-2024-2026",
"ofgem-energy-price-cap-q1-2024",
"ons-aps218-occupation-apr-2024-mar-2025",
"ons-aps218-occupation-apr-2025-mar-2026",
"ons-aps218-occupation-jan-dec-2025",
"ons-ashe-employee-contribution-bands-by-age-2024-full-pay",
"ons-ashe-employee-contribution-bands-by-age-2024-qualifying-earnings",
"ons-ashe-employee-contribution-bands-by-business-size-2024-full-pay",
Expand All @@ -251,6 +254,18 @@
"ons-ashe-pension-membership-by-business-size-earnings-2024",
"ons-ashe-pension-membership-by-industry-earnings-2024",
"ons-ashe-pension-membership-by-occupation-earnings-2024",
"ons-ashe-table2-annual-pay-gross-2024-revised",
"ons-ashe-table2-annual-pay-gross-2025-revised",
"ons-ashe-table2-annual-pay-gross-2026-provisional",
"ons-ashe-table2-annual-pay-gross-cv-2024-revised",
"ons-ashe-table2-annual-pay-gross-cv-2025-revised",
"ons-ashe-table2-annual-pay-gross-cv-2026-provisional",
"ons-ashe-table2-weekly-pay-gross-2024-revised",
"ons-ashe-table2-weekly-pay-gross-2025-revised",
"ons-ashe-table2-weekly-pay-gross-2026-provisional",
"ons-ashe-table2-weekly-pay-gross-cv-2024-revised",
"ons-ashe-table2-weekly-pay-gross-cv-2025-revised",
"ons-ashe-table2-weekly-pay-gross-cv-2026-provisional",
"ons-census2021-rm120-lad-residence1-sex0",
"ons-census2021-rm120-lad-residence1-sex1",
"ons-census2021-rm120-lad-residence1-sex2",
Expand Down
93 changes: 92 additions & 1 deletion chronicle/dimension_values/canonical_labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"salary_sacrifice_threshold_position=all",
"sex=female",
"sex=male",
"soc2020_major_group=3",
"us:statutes/26/62#adjusted_gross_income=all",
"us:statutes/26/62#adjusted_gross_income=under_1"
]
Expand Down Expand Up @@ -7140,6 +7141,18 @@
"earnings_denominator": {
"fte": "Full-time equivalent employees (FTEs)"
},
"earnings_percentile": {
"10": "10",
"20": "20",
"25": "25",
"30": "30",
"40": "40",
"60": "60",
"70": "70",
"75": "75",
"80": "80",
"90": "90"
},
"earnings_sector": {
"all_sectors": "All sectors"
},
Expand Down Expand Up @@ -7172,6 +7185,11 @@
"8% to < 10%": "8% to < 10%",
"Under 4%": "Under 4%"
},
"employment_status": {
"all": "All in employment",
"employee": "Employees",
"self_employed": "Self-employed"
},
"family_type": {
"Couple, no children": "Couple, no children",
"Couple, with children": "Couple, with children",
Expand Down Expand Up @@ -8207,17 +8225,83 @@
"slc.repayment_plan": {
"net_repayments": "Net repayments posted during the financial year"
},
"soc2020_group": {
"all": "All occupations",
"soc_1": "Managers, directors and senior officials",
"soc_11": "Corporate managers and directors",
"soc_12": "Other managers and proprietors",
"soc_2": "Professional occupations",
"soc_21": "Science, research, engineering and technology professionals",
"soc_22": "Health professionals",
"soc_23": "Teaching and other educational professionals",
"soc_24": "Business, media and public service professionals",
"soc_3": "Associate professional occupations",
"soc_31": "Science, engineering and technology associate professionals",
"soc_32": "Health and social care associate professionals",
"soc_33": "Protective service occupations",
"soc_34": "Culture, media and sports occupations",
"soc_35": "Business and public service associate professionals",
"soc_4": "Administrative and secretarial occupations",
"soc_41": "Administrative occupations",
"soc_42": "Secretarial and related occupations",
"soc_5": "Skilled trades occupations",
"soc_51": "Skilled agricultural and related trades",
"soc_52": "Skilled metal, electrical and electronic trades",
"soc_53": "Skilled construction and building trades",
"soc_54": "Textiles, printing and other skilled trades",
"soc_6": "Caring, leisure and other service occupations",
"soc_61": "Caring personal service occupations",
"soc_62": "Leisure, travel and related personal service occupations",
"soc_63": "Community and civil enforcement occupations",
"soc_7": "Sales and customer service occupations",
"soc_71": "Sales occupations",
"soc_72": "Customer service occupations",
"soc_8": "Process, plant and machine operatives",
"soc_81": "Process, plant and machine operatives",
"soc_82": "Transport and mobile machine drivers and operatives",
"soc_9": "Elementary occupations",
"soc_91": "Elementary trades and related occupations",
"soc_92": "Elementary administration and service occupations"
},
"soc2020_major_group": {
"1": "Managers, directors and senior officials",
"2": "Professional occupations",
"3": "Associate professional and technical occupations",
"3": "Associate professional occupations",
"4": "Administrative and secretarial occupations",
"5": "Skilled trades occupations",
"6": "Caring, leisure and other service occupations",
"7": "Sales and customer service occupations",
"8": "Process, plant and machine operatives",
"9": "Elementary occupations"
},
"soc2020_sub_major_group": {
"11": "Corporate managers and directors",
"12": "Other managers and proprietors",
"21": "Science, research, engineering and technology professionals",
"22": "Health professionals",
"23": "Teaching and other educational professionals",
"24": "Business, media and public service professionals",
"31": "Science, engineering and technology associate professionals",
"32": "Health and social care associate professionals",
"33": "Protective service occupations",
"34": "Culture, media and sports occupations",
"35": "Business and public service associate professionals",
"41": "Administrative occupations",
"42": "Secretarial and related occupations",
"51": "Skilled agricultural and related trades",
"52": "Skilled metal, electrical and electronic trades",
"53": "Skilled construction and building trades",
"54": "Textiles, printing and other skilled trades",
"61": "Caring personal service occupations",
"62": "Leisure, travel and related personal service occupations",
"63": "Community and civil enforcement occupations",
"71": "Sales occupations",
"72": "Customer service occupations",
"81": "Process, plant and machine operatives",
"82": "Transport and mobile machine drivers and operatives",
"91": "Elementary trades and related occupations",
"92": "Elementary administration and service occupations"
},
"spdeps": {
"SPR": "SPR"
},
Expand All @@ -8242,6 +8326,8 @@
"unemployment": "Unemployment"
},
"statistic": {
"coefficient_of_variation": "Coefficient of variation",
"confidence_interval_half_width": "Confidence interval half-width",
"estimate": "Estimate",
"margin_of_error": "Margin of error",
"mean": "Mean",
Expand Down Expand Up @@ -8559,6 +8645,11 @@
},
"welshgov.geography_row": {
"wales": "Wales"
},
"working_pattern": {
"all": "Full-time and part-time",
"full_time": "Full-time",
"part_time": "Part-time"
}
}
}
46 changes: 46 additions & 0 deletions chronicle/source_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,52 @@
"ons/employee_workplace_pensions_summary_2024"
),
# end chronicle#302
# chronicle#407 (PolicyEngine/microcosm#1490): APS employment by occupation and
# ASHE Table 2 earnings by two-digit SOC 2020.
"ons-aps218-occupation-apr-2024-mar-2025": Path(
"ons/aps218_occupation_apr_2024_mar_2025"
),
"ons-aps218-occupation-jan-dec-2025": Path("ons/aps218_occupation_jan_dec_2025"),
"ons-aps218-occupation-apr-2025-mar-2026": Path(
"ons/aps218_occupation_apr_2025_mar_2026"
),
"ons-ashe-table2-weekly-pay-gross-2024-revised": Path(
"ons/ashe_table2_weekly_pay_gross_2024_revised"
),
"ons-ashe-table2-weekly-pay-gross-cv-2024-revised": Path(
"ons/ashe_table2_weekly_pay_gross_cv_2024_revised"
),
"ons-ashe-table2-annual-pay-gross-2024-revised": Path(
"ons/ashe_table2_annual_pay_gross_2024_revised"
),
"ons-ashe-table2-annual-pay-gross-cv-2024-revised": Path(
"ons/ashe_table2_annual_pay_gross_cv_2024_revised"
),
"ons-ashe-table2-weekly-pay-gross-2025-revised": Path(
"ons/ashe_table2_weekly_pay_gross_2025_revised"
),
"ons-ashe-table2-weekly-pay-gross-cv-2025-revised": Path(
"ons/ashe_table2_weekly_pay_gross_cv_2025_revised"
),
"ons-ashe-table2-annual-pay-gross-2025-revised": Path(
"ons/ashe_table2_annual_pay_gross_2025_revised"
),
"ons-ashe-table2-annual-pay-gross-cv-2025-revised": Path(
"ons/ashe_table2_annual_pay_gross_cv_2025_revised"
),
"ons-ashe-table2-weekly-pay-gross-2026-provisional": Path(
"ons/ashe_table2_weekly_pay_gross_2026_provisional"
),
"ons-ashe-table2-weekly-pay-gross-cv-2026-provisional": Path(
"ons/ashe_table2_weekly_pay_gross_cv_2026_provisional"
),
"ons-ashe-table2-annual-pay-gross-2026-provisional": Path(
"ons/ashe_table2_annual_pay_gross_2026_provisional"
),
"ons-ashe-table2-annual-pay-gross-cv-2026-provisional": Path(
"ons/ashe_table2_annual_pay_gross_cv_2026_provisional"
),
# end chronicle#407
# chronicle#343: high-value housing facts for the UK local calibration (the
# Price Paid, UK HPI and NSPL releases are raw-only registrations, not packages).
"obr-hvcts-costing-april-2026": Path("obr/hvcts_costing_april_2026"),
Expand Down
Loading
Loading