j40-cejst-2/data/data-pipeline/data_pipeline/etl/score
Emma Nechamkin 49868401be
Updating field names to match score M definitions (#1190)
When implementing definition M for the score, the variable names were not yet updated. For example:

This legacy field naming: 
```
UNEMPLOYMENT_LOW_HS_EDUCATION_FIELD = (
    f"Greater than or equal to the {PERCENTILE}th percentile for unemployment"
    " and has low HS education"
)
``` 

Should actually be renamed something like this:
```
UNEMPLOYMENT_LOW_HS_LOW_HIGHER_ED_FIELD = (
    f"Greater than or equal to the {PERCENTILE}th percentile for unemployment"
    " and has low HS education and low higher ed attendance"
)
``` 

This PR is for the backend updates for this -- keeping the old fields, and adding new, Score M specific fields as listed below: 
- [x] `field_names`: add new fields to capture low_higher_ed
- [x] `score_m`: replace old fields with new fields 
- [x] `DOWNLOADABLE_SCORE_COLUMNS`: replace old fields with new fields
- [x] `TILES_SCORE_COLUMNS`: replace old fields with new fields
2022-02-01 18:54:43 -05:00
..
tests Updating field names to match score M definitions (#1190) 2022-02-01 18:54:43 -05:00
__init__.py Data directory should adopt standard Poetry-suggested python package structure (#457) 2021-08-05 15:35:54 -04:00
constants.py Updating field names to match score M definitions (#1190) 2022-02-01 18:54:43 -05:00
etl_score.py Issue 970: reverse percentiles for AMI and life expectancy (#1018) 2021-12-10 10:16:22 -05:00
etl_score_geo.py Issue 1141: Definition M (#1151) 2022-01-18 14:56:55 -05:00
etl_score_post.py Hot fix for Score M (#1182) 2022-01-27 17:22:39 -05:00
etl_utils.py Address rounding issue in Pandas series to floor numerically unstable values (#1085) 2022-01-05 17:03:37 -05:00