bdecon / econ_data

Python 3 examples of using economic data APIs and working with economic microdata. Includes bd CPS.
74 stars 38 forks source link

bd CPS: New variable DISCTYPE #254

Closed bdecon closed 3 years ago

bdecon commented 3 years ago

The BLS definition for discouraged workers covers only those who want a job, looked for one in the last 12 months, are available to take one, but don't think there is one available for them. In the NILFREASON variable I've defined discouraged workers as anyone who wants a job but isn't in the labor force.

To make the two match, I want to create a new variable called DISCTYPE that is defined as: Discouraged where PRDISC == 1, Marginally attached where PRDISC == 2, No recent search where PRJOBSEA == 5, and Unavailable where PRDISC == 3. It will be defined only for those with NILFREASON == "Discouraged".

I can then remove some of the other variables, MRGNATT and PRDISC, for example.

bdecon commented 3 years ago

Added DWTYPE