https://github.com/justinkunz/538-updater
2020 Election poll updates
https://github.com/justinkunz/538-updater
2020-election 538 biden election election-analysis election-data election-polling elections fivethirtyeight polls trump
Last synced: 3 months ago
JSON representation
2020 Election poll updates
- Host: GitHub
- URL: https://github.com/justinkunz/538-updater
- Owner: justinkunz
- Created: 2020-10-14T03:11:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T23:08:34.000Z (over 4 years ago)
- Last Synced: 2025-03-29T04:47:39.774Z (3 months ago)
- Topics: 2020-election, 538, biden, election, election-analysis, election-data, election-polling, elections, fivethirtyeight, polls, trump
- Language: JavaScript
- Homepage: https://projects.fivethirtyeight.com/2020-election-forecast/
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 538 Updater
Simple Heroku Worker to send SMS updates when 538's 2020 election predictions change
## Set Up Steps
1. [Create a Twilio Account](https://www.twilio.com/try-twilio)
2. Set the [config settings](./config.json) to specify the state poll to watch, how often to check & the threshold results must pass before an alert is issued.
3. Deploy to heroku.
4. Set the following environment variables:```
SMS_FROM_NUM=(Twilio from number)
SMS_ID=(Twilio SMS ID)
SMS_TOKEN=(Twilio SMS Token)
PHONE_NUMBERS=(Phone Numbers, seperated by ";" - example: "3235554433;2145559988;4698887777")
```