|
61 | 61 | "docstring": "\"Add auto loan balance, interest and net_worth variable.", |
62 | 62 | "id": "add_auto_loan", |
63 | 63 | "kind": "function", |
64 | | - "line": 2821, |
| 64 | + "line": 2819, |
65 | 65 | "metadata": { |
66 | 66 | "api_refs": [ |
67 | 67 | "policyengine_us_data.datasets.cps.cps.add_auto_loan_interest_and_net_worth" |
|
88 | 88 | "docstring": "Populate household-level geography variables used by PolicyEngine US.\n\nArgs:\n cps: Output CPS H5 group receiving derived household variables.\n household: Raw CPS household table.", |
89 | 89 | "id": "add_household_variables", |
90 | 90 | "kind": "function", |
91 | | - "line": 1483, |
| 91 | + "line": 1481, |
92 | 92 | "metadata": { |
93 | 93 | "api_refs": [ |
94 | 94 | "policyengine_us_data.datasets.cps.cps.add_household_variables" |
|
115 | 115 | "docstring": "Add basic ID and weight variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The person table of the ASEC.\n tax_unit (DataFrame): The tax unit table created from the person table\n of the ASEC.\n family (DataFrame): The family table of the ASEC.\n spm_unit (DataFrame): The SPM unit table created from the person table\n of the ASEC.\n household (DataFrame): The household table of the ASEC.", |
116 | 116 | "id": "add_id_variables", |
117 | 117 | "kind": "function", |
118 | | - "line": 952, |
| 118 | + "line": 950, |
119 | 119 | "metadata": { |
120 | 120 | "api_refs": [ |
121 | 121 | "policyengine_us_data.datasets.cps.cps.add_id_variables" |
|
142 | 142 | "docstring": "Impute ORG-derived wage and union inputs onto CPS persons.", |
143 | 143 | "id": "add_org_inputs", |
144 | 144 | "kind": "function", |
145 | | - "line": 2705, |
| 145 | + "line": 2703, |
146 | 146 | "metadata": { |
147 | 147 | "api_refs": [ |
148 | 148 | "policyengine_us_data.datasets.cps.cps.add_org_labor_market_inputs" |
|
169 | 169 | "docstring": "Add income variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The CPS person table.\n year (int): The CPS year", |
170 | 170 | "id": "add_personal_income_variables", |
171 | 171 | "kind": "function", |
172 | | - "line": 1158, |
| 172 | + "line": 1156, |
173 | 173 | "metadata": { |
174 | 174 | "api_refs": [ |
175 | 175 | "policyengine_us_data.datasets.cps.cps.add_personal_income_variables" |
|
196 | 196 | "docstring": "Add personal demographic variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The CPS person table.", |
197 | 197 | "id": "add_personal_variables", |
198 | 198 | "kind": "function", |
199 | | - "line": 1014, |
| 199 | + "line": 1012, |
200 | 200 | "metadata": { |
201 | 201 | "api_refs": [ |
202 | 202 | "policyengine_us_data.datasets.cps.cps.add_personal_variables" |
|
223 | 223 | "docstring": "", |
224 | 224 | "id": "add_previous_year_income", |
225 | 225 | "kind": "function", |
226 | | - "line": 1525, |
| 226 | + "line": 1523, |
227 | 227 | "metadata": { |
228 | 228 | "api_refs": [ |
229 | 229 | "policyengine_us_data.datasets.cps.cps.add_previous_year_income" |
|
250 | 250 | "docstring": "", |
251 | 251 | "id": "add_rent", |
252 | 252 | "kind": "function", |
253 | | - "line": 353, |
| 253 | + "line": 352, |
254 | 254 | "metadata": { |
255 | 255 | "api_refs": [ |
256 | 256 | "policyengine_us_data.datasets.cps.cps.add_rent" |
|
277 | 277 | "docstring": "", |
278 | 278 | "id": "add_spm_variables", |
279 | 279 | "kind": "function", |
280 | | - "line": 1444, |
| 280 | + "line": 1442, |
281 | 281 | "metadata": { |
282 | 282 | "api_refs": [ |
283 | 283 | "policyengine_us_data.datasets.cps.cps.add_spm_variables" |
|
304 | 304 | "docstring": "Assign SSN card type using PRCITSHP, employment status, and ASEC-UA conditions.\nCodes:\n- 0: \"NONE\" - Likely undocumented immigrants\n- 1: \"CITIZEN\" - US citizens (born or naturalized)\n- 2: \"NON_CITIZEN_VALID_EAD\" - Non-citizens with work/study authorization\n- 3: \"OTHER_NON_CITIZEN\" - Non-citizens with indicators of legal status", |
305 | 305 | "id": "add_ssn_card_type", |
306 | 306 | "kind": "function", |
307 | | - "line": 1631, |
| 307 | + "line": 1629, |
308 | 308 | "metadata": { |
309 | 309 | "api_refs": [ |
310 | 310 | "policyengine_us_data.datasets.cps.cps.add_ssn_card_type" |
|
331 | 331 | "docstring": "", |
332 | 332 | "id": "add_takeup", |
333 | 333 | "kind": "function", |
334 | | - "line": 473, |
| 334 | + "line": 472, |
335 | 335 | "metadata": { |
336 | 336 | "api_refs": [ |
337 | 337 | "policyengine_us_data.datasets.cps.cps.add_takeup" |
|
358 | 358 | "docstring": "", |
359 | 359 | "id": "add_tips", |
360 | 360 | "kind": "function", |
361 | | - "line": 2530, |
| 361 | + "line": 2528, |
362 | 362 | "metadata": { |
363 | 363 | "api_refs": [ |
364 | 364 | "policyengine_us_data.datasets.cps.cps.add_tips" |
|
1059 | 1059 | "docstring": "Subsample the loaded CPS dataset and preserve downsampled arrays.\n\nArgs:\n frac: Fraction of records to retain.", |
1060 | 1060 | "id": "downsample", |
1061 | 1061 | "kind": "function", |
1062 | | - "line": 320, |
| 1062 | + "line": 319, |
1063 | 1063 | "metadata": { |
1064 | 1064 | "api_refs": [ |
1065 | 1065 | "policyengine_us_data.datasets.cps.cps.CPS.downsample" |
|
1951 | 1951 | "docstring": "Apply US entity IDs and calibrated household weights.", |
1952 | 1952 | "id": "local_h5_us_entity_postprocessor", |
1953 | 1953 | "kind": "class", |
1954 | | - "line": 148, |
| 1954 | + "line": 151, |
1955 | 1955 | "metadata": { |
1956 | 1956 | "api_refs": [ |
1957 | 1957 | "policyengine_us_data.build_outputs.us_augmentations.USEntityPostProcessor" |
|
1978 | 1978 | "docstring": "Payload after US entity ID and household-weight fields are applied.", |
1979 | 1979 | "id": "local_h5_us_entity_postprocessor_result", |
1980 | 1980 | "kind": "class", |
1981 | | - "line": 68, |
| 1981 | + "line": 71, |
1982 | 1982 | "metadata": { |
1983 | 1983 | "api_refs": [ |
1984 | 1984 | "policyengine_us_data.build_outputs.us_augmentations.USEntityPostProcessorResult" |
|
2005 | 2005 | "docstring": "Apply block-derived US geography overrides.", |
2006 | 2006 | "id": "local_h5_us_geography_postprocessor", |
2007 | 2007 | "kind": "class", |
2008 | | - "line": 201, |
| 2008 | + "line": 204, |
2009 | 2009 | "metadata": { |
2010 | 2010 | "api_refs": [ |
2011 | 2011 | "policyengine_us_data.build_outputs.us_augmentations.USGeographyPostProcessor" |
|
2032 | 2032 | "docstring": "Payload after US geography fields are applied.", |
2033 | 2033 | "id": "local_h5_us_geography_postprocessor_result", |
2034 | 2034 | "kind": "class", |
2035 | | - "line": 94, |
| 2035 | + "line": 97, |
2036 | 2036 | "metadata": { |
2037 | 2037 | "api_refs": [ |
2038 | 2038 | "policyengine_us_data.build_outputs.us_augmentations.USGeographyPostProcessorResult" |
|
2059 | 2059 | "docstring": "Apply US take-up draws after entity and geography postprocessing.", |
2060 | 2060 | "id": "local_h5_us_takeup_postprocessor", |
2061 | 2061 | "kind": "class", |
2062 | | - "line": 306, |
| 2062 | + "line": 309, |
2063 | 2063 | "metadata": { |
2064 | 2064 | "api_refs": [ |
2065 | 2065 | "policyengine_us_data.build_outputs.us_augmentations.USTakeupPostProcessor" |
|
2086 | 2086 | "docstring": "Payload after US take-up fields are applied.", |
2087 | 2087 | "id": "local_h5_us_takeup_postprocessor_result", |
2088 | 2088 | "kind": "class", |
2089 | | - "line": 121, |
| 2089 | + "line": 124, |
2090 | 2090 | "metadata": { |
2091 | 2091 | "api_refs": [ |
2092 | 2092 | "policyengine_us_data.build_outputs.us_augmentations.USTakeupPostProcessorResult" |
|
0 commit comments