18
posted ago by PsychoMode ago by PsychoMode +18 / -0

I’m looking for the vote count data (the number of votes added over time, not the voter registration data). I already have Minnesota’s, but would like as many other states as possible. I have no idea how to export from an API, I need some csv or similar files. Please help! I have maximum willpower, high stats ability, I just am clueless about APIs. Thanks.

Comments (1)
sorted by:
You're viewing a single comment thread. View all comments, or full comment thread.
1
Toys 1 point ago +1 / -0

http://static01.nyt.com/elections-assets/2020/data/api/2020-11-03/state-page/${ state }.json

Replace ${ state } with the state you want to download. Replace spaces in the state name with hyphens (new-york, etc). Should be all lowercase.