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
1 change: 1 addition & 0 deletions changelog.d/work-experience-person-inputs.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Detailed and major industry recode and worked-last-year person input variables from the CPS ASEC work-experience block (WEIND, WEMIND, WORKYN).
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from policyengine_us.model_api import *


class detailed_industry_recode(Variable):
value_type = int
entity = Person
label = "CPS detailed industry recode of previous year"
documentation = (
"This variable is the WEIND variable in the Current Population Survey."
)
definition_period = YEAR
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from policyengine_us.model_api import *


class major_industry_recode(Variable):
value_type = int
entity = Person
label = "CPS major industry recode of previous year"
documentation = (
"This variable is the WEMIND variable in the Current Population Survey."
)
definition_period = YEAR
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from policyengine_us.model_api import *


class worked_last_year(Variable):
value_type = bool
entity = Person
label = "worked at any time in the previous year"
documentation = (
"Whether the person worked at any time during the previous year: "
"the WKSWORK variable in the Current Population Survey exceeding "
"zero, which is the universe condition of the work-experience "
"longest-job recodes (detailed_occupation_recode, "
"detailed_industry_recode, major_industry_recode)."
)
definition_period = YEAR
Loading