A git scraper that records various spreadsheets containing listings of declared Conservative nominations for leadership candidates, so changes are visible.
- Guido Fawkes Tory Leadership: Who's Backing Who October Election
Latest:
Rishi Sunak | Boris Johnson | Penny Mordaunt | |
---|---|---|---|
2022-10-24 12:52:01 | 202 | 30 |
Latest:
Rishi Sunak | Boris Johnson | Penny Mordaunt | |
---|---|---|---|
2022-10-24 11:50:47 | 185 | 47 | 29 |
- download spreadsheet as csv
- convert to sqlite db with git-history (see this repos requirement.txt to include simonw/git-history#59)
- query db using sqlite-utils to export time series
- generate graph
- inject latest total to the README with cog content generator
Attempts exports as CSV every 5 minutes, although Github actions seems to run less often than this.
Inspired by Simon Willison's Half Moon Bay Pumpkin Festival scraper.