Commit graph

129 commits

Author SHA1 Message Date
Gina Maini
fc8830b12a updated readme with aws links 2021-07-16 09:56:23 -04:00
Gina Maini
9782d54dfc deployment configuration changes to serverless 2021-07-16 09:43:56 -04:00
TomNUSDS
e066f459fa
Fixed es.json (#354)
* Fixed es.json
- converted remaining english to spanish in file so as to check more locations.
- the `formatjs compile` for Spanish was failing converted back to english for now. build does the correct thing, so it's more just to keep things correct in source.
* add support for eslint-plugin-formatjs
 - eslint rules for formatjs
 - we are mostly protected by typescript checking, but this is a nice sanity check.
2021-07-15 13:00:15 -07:00
Vim
33c3288160
Allows the user to download CBG list (#318)
* adds initial download CBG box

* componentize download packet, adds e2e tests

* changes download file url in test to smaller size

* improve testing functions

* removes underline, colors icon

* replace csv with zip for safari security issue
2021-07-15 11:01:10 -07:00
Jorge Escobar
0316906a69
County Names for Score #188 (#347)
* starting PR

* completed feature

* checkpoint

* adding new fips and updating counties to 2010

* updated sources to 2010 - 2019

* more cleanup

* creating tiles score csv
2021-07-15 13:34:08 -04:00
Vim
f301dfcd80
cypress e2e nightly (#360)
* fixes nightly e2e test

* adds on command
2021-07-15 10:27:22 -07:00
Nat Hillard
dbf1ae2ad8
Zoom button styling does not match spec // General custom controls fix (#357) 2021-07-15 10:28:51 -04:00
TomNUSDS
cfce0dc826
End-to-end working localization (#336)
* End-to-end localization working
* Update package.json
* fix FormattedMessage confusion by using the `FormattedMessage` from `gatsby-plugin-intl` NOT `react-intl`
* TODO: `client/src/intl/es.json` should be generated from a translation tool.
* Update package-lock.json
2021-07-14 12:05:18 -07:00
Nat Hillard
3cd6e06115
Parameterize zoom experiments (#339)
* Adding ability to set flags in url
* parameterizing tile layers
2021-07-14 11:26:12 -04:00
Nat Hillard
6c8d71c5b9
Followup styling fixes (#335)
* Followup to add proper score property to popup
* Adding Additional property name constants
2021-07-13 11:17:49 -04:00
Nat Hillard
4443f60b44
Adding ADR for using maplibre to repo (see issue #299) (#325)
* Adding ADR for using maplibre to repo (see issue #299)
2021-07-12 18:11:56 -04:00
Nat Hillard
68c345b950
Adding low zoom level styling (#334)
* Fixes #201 - As an EVCM, I want the map to make sense at varying zoom levels so that I'm not confused . For now uses a usa_low tileset created as part of #209 for zoom levels 3-7. Will need further iteration
* Adding comments
2021-07-12 18:05:11 -04:00
Jorge Escobar
842312f69f
ETL Classes for Data Sets (#260)
* first commit

* checkpoint

* checkpoint

* first extract module 🎉

* completed census acs etl class

* completed ejscreen etl

* completed etl

* score generation ready

* improving census load and separation

* score generation working 🎉

* completed etls

* new score generation

* PR reviews

* run specific etl; starting docstrings

* docstrings work

* more docstrings

* completed docstrings

* adding pyenv version

* more reasonable poetry req for python

* PR comments
2021-07-12 15:50:44 -04:00
Shelby Switzer
69ef32485c Update issue templates 2021-07-12 15:28:04 -04:00
Vim
a5e79604a7
changes root directory 2021-07-12 10:38:24 -07:00
Vim
c7efe8fcd7
Update 0005-hosting.md (#223)
Fixes broken link and places architecture diagram inline
2021-07-12 09:45:37 -04:00
Nat Hillard
be0256e896
[BUG] Tiles disappear after zoom 11 (#324) 2021-07-12 08:41:29 -04:00
Nat Hillard
d0c281ec72
Census block groups should highlight when selected (#317)
* Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations

* Adding tests - Specifically:
    * Adding VSCode debug command for Cypress and debug port specification
    * Disabling CORS on local tests
    * Adding waitForMapIdle Cypress test helper
    * Adding constants for easy change and access
2021-07-09 10:56:38 -04:00
Nat Hillard
5bade764c6
Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations (#315) 2021-07-09 09:56:18 -04:00
Nat Hillard
2257627938
Use MapLibre for Map Visualization (#300)
* switching to MapLibre (see more at https://github.com/usds/justice40-tool/issues/299)
* Removing traces of OpenLayers
* Review comments - removing unused properties, component
This is a pre-requisite for addressing issue #280 and other similar control-related tickets
2021-07-07 15:04:00 -04:00
Nat Hillard
27d9472326
Add Zoom/Lat/Lng to the URL (#293)
* mandatory eslint fix
* Addresses #286 - Adding lat/lng to the URL
* setting zoom on map load
* adding integration tests for zoom
2021-07-06 14:52:35 -04:00
Lucas Merrill Brown
11d13e034e
Comparison tool refactor & ETL HUD RECAP (#272)
* Refactoring comparison tool and creating two new ETL notebooks
2021-07-06 12:10:58 -05:00
Vim
e8385e1439
fixes prettier error message during build (#295)
fixes #290
2021-07-02 12:32:55 -07:00
Vim
7c9ce41106
Update README-es.md
adds link to the installation instructions in Spanish
2021-07-01 17:56:46 -07:00
Vim
e7066c1b1c
Update INSTALLATION.md
adds link to Spanish installation instructions
2021-07-01 17:50:51 -07:00
Vim
9f2c371a8f
Create INSTALLATION-es.md
initial commit of installation instruction in Spanish
2021-07-01 17:49:41 -07:00
Vim
e957a7927a
Update README.md
moving app installation steps to separate markdown file
2021-07-01 17:24:17 -07:00
Vim
38e087231b
Create INSTALLATION.md
Initial version of installation instructions
2021-07-01 17:21:41 -07:00
Shelby Switzer
774fe2d522
Add translations for repo documents (#281)
* WIP README improvements

* Add translations for some core open source process files

This addresses #37. Note that these translations were requested from the
State Dept a few weeks ago, so they don't have some of the latest
updates to content from recent PRs. We will need to come up with a good
proces for keeping both sets of docs up to date as we make changes.

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-07-01 13:48:03 -04:00
Shelby Switzer
602c3c2fbc Add Spanish issue templates
Only add bug report and feature enhancement for now. Will add user story and ADR later (need spanish translations of the titles!)
2021-07-01 13:03:16 -04:00
Nat Hillard
beac44ef20
Various map styling fixes (#278)
Addresses #182, #291, #273 and #191 

In particular:
* Removes zoom fading for now
* adds legend
* Styles mapbox popup correctly
* Styles zoom control
* Adds feature borders at higher zoom levels
2021-07-01 12:57:59 -04:00
TomNUSDS
f4f7c35ca8
Site content and style update for sprint2/3 (#279)
* add legend and styling for map page
* update header to latest style/content
* add contact page
* add methodology page
#199 and #200
2021-07-01 07:28:43 -07:00
Nat Hillard
00fd51de8b
One more attempt to fix merging to main, it appears it doesn't like curly brackets (#277) 2021-06-30 18:58:54 -04:00
Vim
8f3c7487fc
Update README.md (#222)
fixes broken geo data pipeline link
2021-06-30 07:15:35 -07:00
Vim
6a18d59ba3
Update glossary.md (#224)
fixes #114
2021-06-30 07:13:59 -07:00
Lucas Scharenbroich
38fff9cea8
Fargate Serverless Workers for Census Data Enrichment and Tile Generation (#230)
* add basic infrastructure

* add cloudfront distribution

* WIP checkpoint

* add ecs cluster

* add conditions and route53 dns entry to cloudfront

* WIP checkin

* Added a raw execution mode for demo/testing

* Add pre-defined Task for ogr2ogr

* Tweak Task Definition name

* Mostly working except for logging error

* Add additional logging permissions

* Succesfully executed ogr2ogr in fargate.  S3 permissions needs to be addresses

* Add multipart permissions

* Add a few more actions

* Put IAM Policy on the correct resource

* Deploy lambda and update events

* fix iam permissions 🤦🏻‍♂️

* Add reference to Tippecanoe container

* Clean up to only use named actions

* Refactor resources to include support for tippecanoe

* Make a more interesting GDAL command

* Pull all ECS variables into environment file; successful test of running tippecanoe container

* Support pre/post commands

* Refactor codebase and enable linting

* Implement many-to-many enrichment between USDS CSV files and Census zipped shapefiles

* Change the GDAL image to one with the built-in drivers

* Add some additional fixes to support the enrichment use case

* Clean up old hello-world example

* Expand the README to include ways to execute the lambdas

* Validate scheduled lambda execution and then comment out

Co-authored-by: Tim Zwolak <timothypage@gmail.com>
2021-06-30 09:29:01 -04:00
Nat Hillard
92efc5c937
Zoom fade for higher zoom levels (#265) 2021-06-30 07:08:22 -04:00
Vim
f9ffe305b2
Update README.md
adds installation steps for app on MacOS
2021-06-29 14:33:03 -07:00
Lucas Merrill Brown
41e394972c
Scores D & E (#266)
* running black throughout

* adding housing

* hud housing etl working

* got score d and e working

* updating scoring comparison

* minor fixes

* small changes

* small comments
2021-06-29 11:20:23 -04:00
Jorge Escobar
67c73dde2a
Modularization + Poetry + Docker (#213)
* reorg

* added configuration management; initial click cmds

* reset dirs completed

* major modularization effort

* prepping mbtiles

* first round of PR review updates

* round 2 of feedback review

* checkpoint

* habemus dockerfile 🎉

* updated dock-er-compose with long running container

* census generation works

* logging working

* updated README

* updated README

* last small update to README

* added instructions for log visualization

* census etl update for reusable fips module

* ejscreem etl updated

* further modularization

* score modularization

* tmp cleanup
2021-06-28 16:16:14 -04:00
Nat Hillard
6f4087d247
Fix Github Actions deploy for merges to main
Addresses part of #125 - merges to main now go to a path with a `main` prefix
2021-06-28 10:59:08 -04:00
Lucas Merrill Brown
589ec483e3
Ingest census data directly, add unemployment to the score (#214)
* Ingest two data sources and add to score

Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
2021-06-24 14:11:07 -07:00
Nat Hillard
f12ab4d3b7
Issue 191 - Multi-state visualization (#226)
Addresses issue #191 - As a stakeholder interested in the cumulative impact score, I want to see more states in the map, so that I can further analyze the score results. Introduces gradient coloration on limited 5-state dataset as well as the core of a few key visual aspects of the map to be expanded upon later.
2021-06-24 13:20:45 -04:00
Nat Hillard
8b8314aeb3
Addresses #199 - removing non-functioning layer switcher for now (#212)
* Addresses #199 , but just the switcher part. Not functioning at the moment, we should remove to minimize confusion
* Adding comment
2021-06-23 13:31:03 -04:00
Nat Hillard
922740a4cb
Addresses #210, aside should not appear on map page (#211) 2021-06-23 12:47:31 -04:00
Lucas Merrill Brown
f542d0e675
"CalEnviroScreen for the US" example score (#204) 2021-06-22 20:09:53 -04:00
Lucas Merrill Brown
a2a321d93d
Score comparison tool, first draft (#140) 2021-06-22 11:57:59 -04:00
Shelby Switzer
b61d971f15
Add diagrams detailing our geo data pipeline (#170)
* Detailed flow for data inputs, census data, score creation, and geo
data generation (geoJSON and MVT)
* Include diagram showing vision for geoplatform ownership

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-06-18 10:21:23 -04:00
Jorge Escobar
c8a7f81f7c
habemus score! 🎉 (#185)
* habemus score!

* etl process for score

* small typo

* adding in score percentiles

Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
2021-06-18 10:16:19 -04:00
Shelby Switzer
b34c25bb21
Add community guidelines (#83)
* Add community guidelines

* Update community guidelines

* Fix typo
* Add superpower, because this is fun and we did it in community intros in our last chat

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-06-18 09:18:48 -04:00