Commit Graph

19 Commits

Author SHA1 Message Date
f115fd2039 add more poll math 2024-04-14 11:35:24 -04:00
0b6b80accb add math to calculate chance of win per poll 2024-04-14 11:21:50 -04:00
224db1ddfd continue processing polls, tweak README 2024-04-14 10:34:58 -04:00
6dddb42899 filter recent polls 2024-04-14 10:09:46 -04:00
ca7401a6ed add poll time 2024-04-14 09:58:18 -04:00
e25942b2c3 tweak polls in main and restructure README 2024-04-13 22:14:59 -04:00
e6374cbc82 realize where the result was coming from. Add polls 2024-04-13 21:24:17 -04:00
1d6ec55612 add 2010 census results 2024-04-13 20:37:55 -04:00
9ca60febac add simulate election function; consider Maine and Nebraska separately 2024-04-13 15:52:39 -04:00
d1dc3a5e75 get state by state sampling done 2024-04-13 15:26:18 -04:00
18cb3710d9 use array for election results instead of individual year 2024-04-13 15:07:29 -04:00
08571ee9b6 refactor snake_case 2024-04-13 14:55:57 -04:00
87c48c5f61 small style refactor 2024-04-13 14:44:00 -04:00
aad1cd725e unify structs 2024-04-13 12:42:13 -04:00
120d6f860d add reading a specific election 2024-04-13 12:35:52 -04:00
b918a94e8b change votes to int 2024-04-13 11:19:35 -04:00
3622b3ea3e add past votes & go code to get electoral votes 2024-04-13 11:10:50 -04:00
d094a81580 add electoral votes per college 2024-04-13 10:34:55 -04:00
ed6d47634b add hello world 2024-04-13 10:22:28 -04:00