/legislator-scorecard

🗳️ Explore MA state representatives' voting records

Primary LanguageJavaScript

.github/workflows/deploy.yml

Progressive Massachusetts Legislator Scorecard

Taking somewhat dry legislator information from various spreadsheets administered by Progressive Massachusetts and turning it into a ...slightly less dry interactive app.

Check out the scorecard app here

Technical details

The gatsbyjs statically-generated site uses Google Sheets as a lightweight CMS and also sources additional legislator data from the Open States API.

Hosted on Google Firebase, with a Firebase serverless function for fetching geolocation data, and automated deployments using Github actions.

Site created by @aholachek and currently administered by @dscush.

screenshot of the scorecard

Contributing

You can build the site locally by simply running yarn start after cloning the repo. To build the data, you'll need to copy .env.template to .env and then add your own Google API key (it must be Google Sheets enabled) and an Open States API key. You should then be able to run the yarn build-data command to fetch legislator data.