Conversation
|
@andersonfrailey could you point us to the CPS variable renames in taxdata? I tried searching for @MarionetteSHF FYI we don't need any of the variables ending in |
|
@MaxGhenis, it happens here and here. It's not explicit on those lines, but there's a variable called |
| ### ACS | ||
| - OpenFisca-US-compatible | ||
| - Contains OpenFisca-US-compatible input arrays. | ||
| ### hello world hello No newline at end of file |
There was a problem hiding this comment.
| ### hello world hello |
| add_personal_income_variables(cps, person) | ||
| add_SPM_variables(cps, spm_unit) | ||
|
|
||
| add_tax_unit_variables(cps, tax_unit) |
There was a problem hiding this comment.
| add_tax_unit_variables(cps, tax_unit) |
| cps[openfisca_variable] = spm_unit[asec_variable] | ||
|
|
||
|
|
||
| def add_tax_unit_variables(cps: h5py.File, tax_unit: DataFrame): |
There was a problem hiding this comment.
We can remove this bit from this PR since it's done in OpenFisca-US.
define tax_unit function to add tax_unit to CPS. But I do not know how to match variables. For example, which column of tax_unit is corresponding to "e00200p"