j40-cejst-2/data/data-pipeline/data_pipeline/etl
Shelby Switzer 819f3ff478
Update etl constants to use score field_names and put strings around tract IDs in downloadable CSV (#985)
* Update etl constants to use score field_names

Put strings around tract IDs in downloadable CSV

No need to modify the xls file creation because the string type is
preserved and interpreted correctly in Excel already.

One note is that this does cause the ID in the CSV to be have quotes
around it, which might be annoying. Maybe we don't want this behavior?

* Update based on PR feedback and lint needs

* Change field we're using in downloadable

This reverts the downloadable csv field list to use
MEDIAN_INCOME_AS_PERCENT_OF_STATE_FIELD instead of
MEDIAN_INCOME_AS_PERCENT_OF_AMI_FIELD in order to get the test to pass.
The point of this PR is a refactor (and a small change to the CSV
quotations), not to change the output. That will be a different PR
later.

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-12-06 13:17:17 -05:00
..
score Update etl constants to use score field_names and put strings around tract IDs in downloadable CSV (#985) 2021-12-06 13:17:17 -05:00
sources New Create indicators for all thresholds exceeded by a community in Definition L (#980) 2021-12-05 19:51:19 -05:00
__init__.py Data directory should adopt standard Poetry-suggested python package structure (#457) 2021-08-05 15:35:54 -04:00
base.py Issue 844: Add island areas to Definition L (#957) 2021-12-03 15:46:10 -05:00
constants.py Issue 242: Add HOLC Grades to data inputs (#978) 2021-12-04 12:23:01 -05:00
runner.py Display score L on map (#849) 2021-11-05 16:26:14 -04:00