* switching to low
* fixing score-etl-post
* updating comments
* fixing comparison
* create separate field for clarity
* comment fix
* removing healthy food
* fixing bug in score post
* running black and adding comment
* Update pickles and add a helpful notes to README
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
* Add first column of Methodology score L
- create a new component MethodologyFormula (MF)
- MF component contain text on formula calculation
- add snapshots
* Add 2nd column to Methodology page
- add LowIncome component
- add USWDS styles on download component
- add margin-top styles to global
- enable all font-sizes to theme file
* Add Categories to Methodology page
- create CategoryCard component
- create Categories component
- add snapshots
* Update datasets
- update styling to match mock
- add additional indicators
- remove additional indicators
- update snapshots
* Add links to categories to datasets
- update snapshots
* Remove additional indicator test as they now N/A
* ensure each DOM ID is unique for a11y
- update snapshots
* Add Category heading for a11y
- removes ScoreSteps tests
- comment out ScoreStep component
- update snapshots
- cypress passes all a11y
* Update to methodology copy
- based on PDF and spreadsheet and Living Copy
-updates snapshots
* Add comments around using IF, AND, ELSE constants
- make indicator constant names more explicit
* Update copy based on living doc
- update snapshots
We originally used the approach in the infrastructure directory when we
thought we would be using Amazon Lambda for different parts of our
deployment pipeline. We have since then moved to using Github Actions
and no longer need this code, and keeping it in `main` has caused
confusion for onboarding new folks. This commit removes the directory
(although this will still be around in version control so we can always
view it or bring it back in the future if we want to).
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
* Modify copy
- update snapshots
* Fix failing cypress tests
- commented out lat/lng in URL test as it is intermittent
* Removes test on EO link
* Update copy for launch
- adds 404 page verbiage
- fixes survey button to be bottom sticky
* Update copy
* Adds four fields:
* Summer days above 90F
* Percent low access to healthy food
* Percent impenetrable surface areas
* Low third grade reading proficiency
* Each of these four gets added into Definition L in various factors.
* Additionally, I add college attendance fields to the ETL for Census ACS.
* This PR also introduces the notion of "reverse percentiles", relevant to ticket #970.
* Add 4 additional territory buttons
* Fix bug where territories fires multiple times
- move territory handler from J40Map to component
* Update SVGs for all territory buttons
* 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>
* added fieldnames
* todo pollution, water, health & workforce
* workforce
* work in progress
* add utility function to replace duplicate summation logic
* move fpl series into add columns - run black .
* added revisions - still a wip
* added fieldnames
* todo pollution, water, health & workforce
* workforce
* work in progress
* add utility function to replace duplicate summation logic
* move fpl series into add columns - run black .
* added revisions - still a wip
* revise workforce and water
* revise housing and add incremental counter for workforce
* last PR nit
* revise workforce
* more PR feedback in score l
* more PR feedback in score l
* more PR feedback in score l
* addd FPL_SERIES and update references in score 1
* fix bugs
* reparameterize function
* final revisions in fieldnames
* make computations all consistent so we assing with FPL_200_SERIES
* fieldnames refactor after clarification and PR review
* finalize
* finalize with no typos
* fix length
* added median income var
* swap thresholds
* remove iteration
* remove stray '
* address flake 8
* added f string formatting and fixed typos
* added f string formatting and fixed typos
* move up
* remove dupes
* reformat
* fix bugs
* fix bugs
* initialize
Co-authored-by: Saran Ahluwalia <sarahluw@cisco.com>