Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into additional tabulation status info AP is feeding with race data #22

Open
alykat opened this issue Nov 30, 2023 · 4 comments
Open
Assignees
Milestone

Comments

@alykat
Copy link
Member

alykat commented Nov 30, 2023

Keep an eye on it through the first few primaries. If it seems to be filled in consistently, maybe we try to reflect it in the graphics.

Will need to update to v3 of the API first #33

@alykat
Copy link
Member Author

alykat commented Apr 9, 2024

Status info we're interested in:

Race call status

Documentation: https://developer.ap.org/ap-elections-api/docs/RaceCallStatus.htm (both "Called Status" and "AP Decision Status" where available)

For notifications, I think we'd be most interested in:

  • Called
  • Runoff
  • Uncalled
  • Too close to call
  • Unable to call
  • Awaiting ranked choice results

Tabulation status

Documentation: https://developer.ap.org/ap-elections-api/docs/Tabulation_Status.htm

For notifications, I think we'd be most interested in:

  • Polls closed / awaiting first report (maybe)
  • Active tabulation (might be more useful than polls closed)
  • Tabulation paused
  • End of tabulation

There is a little more detail here:
https://developer.ap.org/ap-elections-api/docs/Release_Notes.htm

@alykat
Copy link
Member Author

alykat commented Apr 9, 2024

Load race data into a Google Sheet
Some ability to flag races for priority
Log/update status as we check for new data
Then notify status changes for priority races to a slack channel?

@alykat alykat added this to the P - April milestone Apr 9, 2024
@alykat alykat modified the milestones: P - April, Q - May May 6, 2024
@abidishajia
Copy link
Contributor

For this @alykat:

  1. Loading/Updating race data into a Google sheet - does this mean the config sheet?
  2. How do we define priority races? And how do we want to flag them?
  3. Do we want to use the slackbot to send updates to 2024-elex-dev

@alykat
Copy link
Member Author

alykat commented May 23, 2024

  1. I'd start with a separate sheet, to avoid any risk of damaging the main config sheet

  2. Priority races would be ones that are more newsworthy / more competitive.
    a. For the general election, I'd say all presidential, senate and gov races are priority by default, and then we'd need to define a subset of house races. So in that case, maybe we'd preload all the races and their AP IDs into a spreadsheet and handle the flagging there.
    b. Not sure how best to handle that in a manageable way for primaries, since the universe of races changes so much. Maybe we don't bother for this round? OR, to test a proof of concept, set a blanket rule for now that any senate and gov races are priority, and don't worry about setting up some other way of flagging priority.

  3. For an initial phase, let's send them to the test channel? And then we can tune what makes sense for notifications to the dev channel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants