Commit graph

452 commits

Author SHA1 Message Date
Saran Ahluwalia
064fb94d23 added documentation and converted geojson to csv 2021-12-29 08:52:17 -05:00
Saran Ahluwalia
9bcce0a982 wip 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
8c532b4548 wip 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
ba801332a1 wip 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
3ad3bdf159 added revisions 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
521db64810 add legend 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
1b093155e6 added temporaray artifacts 2021-12-29 08:51:38 -05:00
Saran Ahluwalia
3503a94d61 cleanup and add comments 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
6eeadf4636 add reference 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
eb00a68dc4 added index for change between census tracts as one confounding explanation for percent change in population demographics 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
e97cde203b added illustrative example with California - LA county 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
f7eea4bf24 wip 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
d5d2c947a0 wip ny, ca, tx, fl comparisons 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
39e4d7e3ec wip ny, ca, tx, fl comparisons 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
6ac67cb15d wip ny, ca, tx, fl comparisons 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
d884012a1b without not computed fields 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
55f33d33d4 added t8_1 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
94faab0c4c added revised formulation 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
c7422ca15a added percentile rank and current percentile comparison 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
2642732334 comments 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
b5150146b6 comments spelling check 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
c09e465ac7 add clarifying comments on color legend 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
b016a77500 added nonparametric tests for comparing both methodologies 2021-12-29 08:51:37 -05:00
Saran Ahluwalia
9c24466afa added revisions including ETL process for table 8 acquistion 2021-12-29 08:51:16 -05:00
Saran Ahluwalia
8b6442a070 draft 2021-12-29 08:51:16 -05:00
Saran Ahluwalia
e82b02bd2f added first pass 2021-12-29 08:51:16 -05:00
Saran Ahluwalia
aa68a43c84 draft wip 2021-12-29 08:47:50 -05:00
Saran Ahluwalia
1c0c982140 Merge branch 'main' of https://github.com/usds/justice40-tool into main 2021-12-22 09:39:20 -05:00
Kameron Kerger
e15bb52bad
548-update-pdf (#1081)
latest pdf copy with links now added for each data source
2021-12-21 14:12:20 -05:00
Saran Ahluwalia
0db9526659 Merge branch 'main' of https://github.com/usds/justice40-tool into main 2021-12-20 13:43:31 -05:00
Vim
409c7238ae
Make latest copy changes from Living Copy (#1055)
* Make latest copy changes

- update snapshots

* Update cypress test on feedback link

- update snapshot

* Update side panel and copy

- update snapshots

* Make 2nd EO link open in new tab

* Add latest changes from Living copy

* Add back HS indicator to map

* Add "X of Y thresholds exceed" to side panel

- update snapshots

* Update with latest copy

* Update to latest copy

- make BETA pill in logo bold
- correct exceed to exceeded
- update snapshots
- update page title to Meth & data

* Update total indicators to 21

* Update snapshot
2021-12-17 13:17:57 -08:00
Lucas Merrill Brown
0d57dd572b
Stop swallowing Census API errors (#1051) 2021-12-16 10:54:41 -05:00
Shaun Verch
d90e028c1b
Update documentation to make it easier for users to find the right content for them (#1016)
* First pass of updating documentation for new users

Trying to look at this from the perspective of someone new to the
project, and create some pathways to make it easier for people to get to
the content they are looking for.

* Make it clear that docker is doing the setup

* Link installation again from the main README

* Add some docs about the github actions

* Add markdown link check

* Move git installation first

* Add config for markdown link checker

* Fix some links

* Correct handling of repo root relative links

* Fix broken links in data roadmap

* Fix more broken links

* Fix more links

* Ignore link that's returning a 403 to the checker

It actually works if you go in a browser.

* Fix another broken link

* Ignore more urls that don't work

* Update the readme under docs

* Add some more dataset links

* More strongly call out the quickstart

* Try to call out even more the quickstart link

* Fix dead links

* Add note about initialization time

* Remove broken link from spanish install guide

These will be updated later with a full translation
2021-12-16 10:16:28 -05:00
Saran Ahluwalia
34f8578cb6 Merge branch 'ahlusar1989-main' into main 2021-12-16 06:21:45 -05:00
Saran Ahluwalia
971ac0640c Merge branch 'main' of https://github.com/ahlusar1989/justice40-tool into ahlusar1989-main 2021-12-16 06:21:15 -05:00
Saran Ahluwalia
ec342a290e
Merge branch 'usds:main' into main 2021-12-16 06:16:43 -05:00
Lucas Merrill Brown
0d10534725
Issue 1044: Add low HS education fields to tiles and download (#1046) 2021-12-14 15:41:06 -05:00
Vim
000da0f3ac
Place spanish content on feature ?flags=sp (#1027)
- update snapshots
2021-12-14 10:11:35 -08:00
Vim
c9caa97ce3
Remove GU and VI (#1028)
- comment out GU and VI code
- remove search from feature flag
- keep comment on search production bug when wrapping div
- add note on territories
- add territories copy to constants
2021-12-14 08:02:05 -08:00
dependabot[bot]
9dc70d48a4
Bump lxml from 4.6.3 to 4.6.5 in /data/data-pipeline (#1043)
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 16:41:50 -05:00
Vim
8a0e3a1293
Updated side panel for score L launch (#1022)
* Remove un-needed state and useEffect vars

* Add initial Accordion UI to side panel

- abstract out Indicators to separate component
- add snapshot test
- define new indicators in EXPLORE copy
- intl copy to AreaDetail component

* Make side panel indicators styling match design

* Rename export IndicatorCategory -> CategoryCard

* Add disadvangted dots to category and indicators

- add new Category component
- add new DisadvantageDot component
- make copy corrections
- comment out send feedback link in side panel

* Integrate MapLegend's dot into component

- change color to 'blue-warm-70v'
- update map stroke to 'blue-warm-70v'

* Add new indicator names from BE

- add abbreviations and use key in json file to decode
2021-12-13 15:52:27 -05:00
Jorge Escobar
9709d08ca3
Update Side Panel Tile Data (#866)
* Update Side Panel Tile Data

* Update Side Panel Tile Data

* Correct indicator names to match csv

* Replace Score with Rate

* Comment out FEMA Loss Rate to troubleshoot

* Removes all "FEMA Loss Rate" array elements

* Revert FEMA to Score

* Remove expected loss rate

* Remove RMP and NPL from BASIC array

* Attempt to make shape mismatch align

- update README typo

* Add Score L indicators to TILE_SCORE_FLOAT_COLUMNS

* removing cbg references

* completes the ticket

* Update side panel fields

* Update index file writing to create parent dir

* Updates from linting

* fixing missing field_names for island territories 90th percentile fields

* Update downloadable fields and fix field name

* Update file fields and tests

* Update ordering of fields and leave TODO

* Update pickle after re-ordering of file

* fixing bugs in etl_score_geo

* Repeating index for diesel fix

* passing tests

* adding pytest.ini

Co-authored-by: Vim USDS <vimal.k.shah@omb.eop.gov>
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
2021-12-13 14:53:50 -05:00
Shaun Verch
83eb7b0982
Silence dev only vulnerabilities (#1041)
Showing obscure vulnerabilities that only exist in the dev setup creates
more noise and means that they just get ignored (because they are
probably low priority). Silencing them means when we get a vulnerable
dependency alert we know to pay attention to it.

Comes from https://github.com/dependabot/dependabot-core/issues/2521 and
501bbef578.
2021-12-13 13:54:59 -05:00
Saran Ahluwalia
ad6dbf9709
remove data roadmap directory from repository (#1034)
Removed data roadmap
2021-12-10 13:54:46 -05:00
Lucas Merrill Brown
7fcecaee42
Issue 970: reverse percentiles for AMI and life expectancy (#1018)
* 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>
2021-12-10 10:16:22 -05:00
Vim
24bac56d9e
Methodology page update for Score L (#1010)
* 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
2021-12-09 10:42:37 -08:00
Saran Ahluwalia
2cc1fa6079 Merge branch 'main' of https://github.com/saran-ahluwalia/justice40-tool into main 2021-12-09 12:01:28 -05:00
Shelby Switzer
123fbf6254
Remove "infrastucture" directory (#996)
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>
2021-12-09 11:25:19 -05:00
Lucas Merrill Brown
f91de51a75
Issue 1007 continued: Re-ordering fields for clarity (#1014) 2021-12-09 11:07:37 -05:00
Vim
1f5742bc5b
Modify copy on About and Explore Tool pages (#974)
* 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
2021-12-08 10:15:31 -08:00