mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 08:21:16 -07:00
Updating higher education to be reversed (#1387)
Summary In this PR, we create a new variable so that the % college students is expressed as % not college students. This means that the front end can display % not college students. Includes old variables so that this will not break fe.
This commit is contained in:
parent
2279a04c94
commit
e7c7c0abeb
12 changed files with 30 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
|||
from pathlib import Path
|
||||
import datetime
|
||||
|
||||
from data_pipeline.config import settings
|
||||
|
||||
from data_pipeline.score import field_names
|
||||
|
@ -205,6 +204,8 @@ TILES_SCORE_COLUMNS = {
|
|||
# Percentage of HS Degree completion for Islands
|
||||
field_names.CENSUS_DECENNIAL_HIGH_SCHOOL_ED_FIELD_2009: "IAHSEF",
|
||||
field_names.COLLEGE_ATTENDANCE_FIELD: "CA",
|
||||
field_names.COLLEGE_NON_ATTENDANCE_FIELD: "NCA",
|
||||
# This is logically equivalent to "non-college greater than 80%"
|
||||
field_names.COLLEGE_ATTENDANCE_LESS_THAN_20_FIELD: "CA_LT20",
|
||||
field_names.LOW_INCOME_THRESHOLD: "FPL200S",
|
||||
# Booleans for the front end about the types of thresholds exceeded
|
||||
|
@ -270,5 +271,6 @@ TILES_SCORE_FLOAT_COLUMNS = [
|
|||
field_names.ISLAND_AREAS_LOW_HS_EDUCATION_FIELD,
|
||||
field_names.WASTEWATER_FIELD + field_names.PERCENTILE_FIELD_SUFFIX,
|
||||
field_names.SCORE_M + field_names.PERCENTILE_FIELD_SUFFIX,
|
||||
field_names.COLLEGE_NON_ATTENDANCE_FIELD,
|
||||
field_names.COLLEGE_ATTENDANCE_FIELD,
|
||||
]
|
||||
|
|
|
@ -443,6 +443,7 @@ class ScoreETL(ExtractTransformLoad):
|
|||
field_names.UNEMPLOYMENT_FIELD,
|
||||
field_names.MEDIAN_HOUSE_VALUE_FIELD,
|
||||
field_names.COLLEGE_ATTENDANCE_FIELD,
|
||||
field_names.COLLEGE_NON_ATTENDANCE_FIELD,
|
||||
field_names.EXPECTED_BUILDING_LOSS_RATE_FIELD,
|
||||
field_names.EXPECTED_AGRICULTURE_LOSS_RATE_FIELD,
|
||||
field_names.EXPECTED_POPULATION_LOSS_RATE_FIELD,
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue