Add CPS work-experience person input variables (industry recodes, worked-last-year) - #9311
Open
MaxGhenis wants to merge 1 commit into
Open
Add CPS work-experience person input variables (industry recodes, worked-last-year)#9311MaxGhenis wants to merge 1 commit into
MaxGhenis wants to merge 1 commit into
Conversation
Adds three person-level input variables from the CPS ASEC work-experience block, mirroring detailed_occupation_recode (POCCU2): - detailed_industry_recode: WEIND, industry of longest job by detailed groups (0:23) - major_industry_recode: WEMIND, industry of longest job by major industry groups (0:15) - worked_last_year: WORKYN == 1, worked at a job or business at any time during the previous year Verified against the official ASEC public-use data dictionary (asec2024_ddl_pub_full.pdf). These are the engine-side consumers for the microcosm work_experience_inputs source stage (PolicyEngine/microcosm#719), which the Living Wage Institute MVP person schema requires (working indicator + industry + occupation). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Adds three person-level input variables from the CPS ASEC work-experience block, mirroring
detailed_occupation_recode(POCCU2):detailed_industry_recode— WEIND, "IND. OF LONGEST JOB BY DETAILED GROUPS" (0:23; 22 = Military, 23 = Never worked; 0 = NIU)major_industry_recode— WEMIND, "IND. OF LONGEST JOB BY MAJOR IND. GROUPS" (0:15)worked_last_year— WORKYN == 1, "Did ... work at a job or business at any time during 20..?"All three are verified against the official ASEC public-use data dictionary (
asec2024_ddl_pub_full.pdf) and are reference-period-coherent with the longest-job occupation recode the model already carries (the survey-weekA_DTIND/A_MJINDrecodes would describe a different job thanPOCCU2).These are the engine-side consumers for the microcosm
work_experience_inputssource stage (PolicyEngine/microcosm#719): the Living Wage Institute county-microdata MVP commits every person record to carry a working indicator, industry, and occupation. Microcosm's release input-coverage gate requires manifest columns to exist in the locked PolicyEngine-US, so the companion microcosm PR bumps its lock to the release containing this change.Input variables only — no formulas, parameters, or behavior changes.
🤖 Generated with Claude Code