Skip to content

Added yearly cross-sectional employment statistics#190

Merged
andrewbaxter439 merged 1 commit intodevelopfrom
feature/175-add-calculation-of-cross-sectional-employment-statistics-for-working-age-adults
Jun 4, 2025
Merged

Added yearly cross-sectional employment statistics#190
andrewbaxter439 merged 1 commit intodevelopfrom
feature/175-add-calculation-of-cross-sectional-employment-statistics-for-working-age-adults

Conversation

@andrewbaxter439
Copy link
Copy Markdown
Collaborator

@andrewbaxter439 andrewbaxter439 commented Jun 3, 2025

What

  • This should add cross-sectional calculations of employment and unemployment rates
  • Rates calculated as proportion of 16-64yos who are "EmployedOrSelfEmployed" or "NotEmployed" by year

Why

Reviewer queries

  • @justin-ven - does this seem to make sense? tiny change with no outward effects; matches manual calculations. Brief sense-check would be great!

@andrewbaxter439 andrewbaxter439 requested a review from Copilot June 3, 2025 10:04
@andrewbaxter439 andrewbaxter439 self-assigned this Jun 3, 2025
@andrewbaxter439 andrewbaxter439 added the enhancement New feature or request label Jun 3, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds yearly cross-sectional employment statistics by computing employment and unemployment proportions among working-age (16–64) individuals.

  • Introduces two new fields: PropEmployed and PropUnemployed.
  • Uses a new AgeGroupCSfilter to restrict calculations to the target age group.
  • Computes mean values for employment and unemployment using CrossSection and MeanArrayFunction.

@andrewbaxter439
Copy link
Copy Markdown
Collaborator Author

Going to merge this one if alright @pbronka @justin-ven - vvv small additions with no effects outside of stats file and can be reverted if needs be. want to use this output for the validating of fixing employment rates

@justin-ven
Copy link
Copy Markdown
Contributor

Sounds good to me

@andrewbaxter439 andrewbaxter439 merged commit 688836a into develop Jun 4, 2025
4 checks passed
@andrewbaxter439 andrewbaxter439 deleted the feature/175-add-calculation-of-cross-sectional-employment-statistics-for-working-age-adults branch June 5, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add calculation of cross-sectional employment statistics for working age adults

3 participants