From 1334fcc274135af08fb716d7c5f99c46c086717a Mon Sep 17 00:00:00 2001 From: Matt Bowen <83967628+mattbowen-usds@users.noreply.github.com> Date: Tue, 4 Oct 2022 15:09:05 -0400 Subject: [PATCH] Add back income percentile (#1977) * Add missing field to download (#1964) * Remove pydantic since it's unused (#1964) * Add percentile to CSV (#1964) * Update downloadable pickle (#1964) --- .../data_pipeline/content/config/csv.yml | 3 +++ .../data_pipeline/content/config/excel.yml | 3 +++ .../snapshots/downloadable_data_expected.pkl | Bin 17208 -> 17313 bytes data/data-pipeline/poetry.lock | 18 +----------------- data/data-pipeline/pyproject.toml | 1 - 5 files changed, 7 insertions(+), 18 deletions(-) diff --git a/data/data-pipeline/data_pipeline/content/config/csv.yml b/data/data-pipeline/data_pipeline/content/config/csv.yml index 93c96a06..12079411 100644 --- a/data/data-pipeline/data_pipeline/content/config/csv.yml +++ b/data/data-pipeline/data_pipeline/content/config/csv.yml @@ -68,6 +68,9 @@ fields: - score_name: Total population label: Total population format: float +- score_name: Percent of individuals below 200% Federal Poverty Line, imputed and adjusted (percentile) + label: Adjusted percent of individuals below 200% Federal Poverty Line (percentile) + format: float - score_name: Percent of individuals below 200% Federal Poverty Line, imputed and adjusted label: Adjusted percent of individuals below 200% Federal Poverty Line format: float diff --git a/data/data-pipeline/data_pipeline/content/config/excel.yml b/data/data-pipeline/data_pipeline/content/config/excel.yml index 34b89dee..0ada1650 100644 --- a/data/data-pipeline/data_pipeline/content/config/excel.yml +++ b/data/data-pipeline/data_pipeline/content/config/excel.yml @@ -72,6 +72,9 @@ sheets: - score_name: Total population label: Total population format: float + - score_name: Percent of individuals below 200% Federal Poverty Line, imputed and adjusted (percentile) + label: Adjusted percent of individuals below 200% Federal Poverty Line (percentile) + format: float - score_name: Percent of individuals below 200% Federal Poverty Line, imputed and adjusted label: Adjusted percent of individuals below 200% Federal Poverty Line format: float diff --git a/data/data-pipeline/data_pipeline/etl/score/tests/snapshots/downloadable_data_expected.pkl b/data/data-pipeline/data_pipeline/etl/score/tests/snapshots/downloadable_data_expected.pkl index 854a6cf66c227a28ed9ac694fd72dcbb250709d2..ced87384f5b012771efd4935da5a405037f19cc5 100644 GIT binary patch delta 974 zcmXZXT}YF06vuI&{U3GnWt%T^o11$aGc?J3{hLf{m8YzZWfoK}twc$eTB0OHnVP*I zltHH=q>H);qCkk%NO^M*NTUcGkT zyl4}J7@!|!4L!AiD8i8Lm;h0XVciP?=%^{F+5{276209uf%;M8Q0o4tdKEV49nPVCYhasqvD*3)%ovp9g={65f2m!ugNh#u_Ko6QZh=$3TC4dNj7>Ft;5 zeoW|A|DDQnC4I>OF^EHY+n);*%#-vk7sL@9)?0fXkTYM>^E?nEI7&JBW0yUW9_9lb zS4t1iPvyLFpg>Y-0nlgVO=Xu?lHUvTRypsn)10@7+I*5SeIQQaxc>Pws!!u|@`dk} zG2u;FdVH*(4YC$n!Y*UW*yU_FTftVbwQN1xz&0)!O_&Do+sd|4JW$%b zhp)ZtKDL|fW&7Ae><~N5jJ7Vf_DX+vrui=&wvPD=_2 delta 962 zcmXZXOGs2v9LMqQoU3znbRN!(Gvi|(Ib~K#Q*$(JaH{!dDmr)3f?q z{h~f=5do~AANodmX#r7%)oLdNh!BR=UNUzCSE?P;f&K_dk982MaJAXS=$kI-UIB=; zxK7>i76N@LkaVjML_IdBX0?LYfHAeR=H7&HwSSwt5u4N=F+gm_X0^W>Ku-)wS*t7AJ_~ zctW)+PM|iYq+ez`g&EcUz5g^0sr|(TwCIx5R|et?o>lEb8PLNrNnLIb=kbDSuiZd% zZb>N*h>JL?+A|N(v`3Qk!fmgl1uxKL)7o;NpQiUshsq@dd_bQ~7rX}D^(Cm+C&}gq zdT)Be4`Ko*^KblbwXX6N|34q=XDittTf;`#T6PUv$F3(=I23E*Qwy79x3Vb~*d5dy z4r%+SyRtTYh+8jvlpSDCvV-g}dyXApud>(J>-4emRiKMc-RwA=0.10.4)"] -email = ["email-validator (>=1.0.3)"] - [[package]] name = "pyflakes" version = "2.3.1" @@ -2207,7 +2192,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest- [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "f3d61a8c4ca54c580ba8d459aa76a9d956e046c2b8339602497ce53393ba9983" +content-hash = "5d55ed06ec57aa8b2fe957ff8a5cfd557f310f8fe65377ffd2d5ec3545f2ec82" [metadata.files] ansiwrap = [] @@ -2562,7 +2547,6 @@ pycparser = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, ] -pydantic = [] pyflakes = [] pygments = [] pylint = [] diff --git a/data/data-pipeline/pyproject.toml b/data/data-pipeline/pyproject.toml index ab7a7110..d83088ac 100644 --- a/data/data-pipeline/pyproject.toml +++ b/data/data-pipeline/pyproject.toml @@ -39,7 +39,6 @@ tqdm = "4.62.0" types-requests = "^2.25.0" us = "^2.0.2" xlsxwriter = "^2.0.0" -pydantic = "^1.9.0" Rtree = "^1.0.0" [tool.poetry.dev-dependencies]