this post was submitted on 04 Nov 2024
15 points (80.0% liked)

Selfhosted

40296 readers
322 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm wondering if anyone has found (free) sources of data to use for live elections results, specifically the Presidential race? I've been building a map of poll results but would also like to put something together to watch the race tomorrow night.

you are viewing a single comment's thread
view the rest of the comments
[–] SnotFlickerman@lemmy.blahaj.zone 7 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Most election data comes from the Associated Press, but I don't see a place to purchase API access, may only be available to news orgs.

https://developer.ap.org/ap-elections-api/

A reddit poster had some JSONs from New York Times four years ago for 2020 but I'm not sure if you can make them work for 2024.

https://old.reddit.com/r/rstats/comments/jo1yuw/us_election_results_api/gmnxfz3/

[–] Shdwdrgn@mander.xyz 3 points 2 weeks ago

Yeah I found the same on the AP data. I also found that reddit thread, but haven't been able to find a valid URL for this year's election. Maybe they don't make it available until voting starts?

load more comments (1 replies)