Added Territory FPL200 to donut hole calculation

This commit is contained in:
alene 2024-12-20 10:36:07 -05:00 committed by Carlos Felix
parent 83f2bd8414
commit 7f968ea665

View file

@ -961,7 +961,13 @@ class ScoreNarwhal(Score):
self.df[
field_names.POVERTY_LESS_THAN_200_FPL_IMPUTED_FIELD
+ field_names.PERCENTILE_FIELD_SUFFIX
]
].fillna(
# low income percentile field null in non-PR territories,
# need to fill in with the territory-specific percentiles
self.df[
field_names.CENSUS_DECENNIAL_POVERTY_LESS_THAN_200_FPL_PERCENTILE
]
)
>= self.LOW_INCOME_THRESHOLD_DONUT
)