This repository was archived by the owner on Mar 3, 2021. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathelection-tracker.html
More file actions
105 lines (82 loc) · 4.91 KB
/
Copy pathelection-tracker.html
File metadata and controls
105 lines (82 loc) · 4.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<title>Election Tracker</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://gregpawin.com/theme/css/main.css" />
<link href="https://gregpawin.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Greg's Blog Full Atom Feed" />
<link href="https://gregpawin.com/feeds/posts.atom.xml" type="application/atom+xml" rel="alternate" title="Greg's Blog Categories Atom Feed" />
</head>
<body>
<div class="main-nav-container">
<div class="pure-g">
<div class="pure-u-1 pure-u-lg-2-3">
<div class="main-nav">
<ul class="main-nav-list">
<li class="main-nav-item"><a href="https://gregpawin.com/" class="pure-menu-link">Greg's Blog</a></li>
<li class="main-nav-item"><a href="/pages/about-me.html" class="pure-menu-link">About Me</a></li>
<li class="main-nav-item"><a href="https://scholar.google.com/citations?user=431TkhYAAAAJ&hl=en" class="pure-menu-link">Publications</a></li>
<li class="main-nav-item"><a href="/category/posts.html" class="pure-menu-link">Posts</a></li>
<li class="main-nav-item"><a href="/category/projects.html" class="pure-menu-link">Projects</a></li>
</ul>
</div>
</div>
<div class="pure-u-1 pure-u-lg-1-3"></div>
</div>
</div>
<div class="page-container">
<div class="entry-content">
<div class="post-meta pure-g">
<div class="pure-u-3-4 meta-data">
<a href="https://gregpawin.com/category/posts.html" class="category">posts</a><br />
<a class="author" href="https://gregpawin.com/author/greg-pawin.html">Greg Pawin</a>
— <abbr title="2020-11-07T00:00:00-08:00">Sat 07 November 2020</abbr>
</div>
</div>
</div>
<div class="article-header-container">
<div class="background-image-container">
<div class="background-image-small">
<div class="title-container">
<h1>Election Tracker</h1>
</div>
</div>
</div>
</div>
<div class="entry-content">
<p><a href="https://gregpawin.com/election-tracker.html"><img alt="Election" src="/images/biden-trump.png"></a></p>
<p>After days of 24/7 speculation, we finally get a result. It was interesting to see the tools people built to publish minute by minute vote tallys.</p>
<p>Here’s a vote scraper created by the NYTimes: <a href="https://github.com/alex/nyt-2020-election-scraper">https://github.com/alex/nyt-2020-election-scraper</a></p>
<p>If the site is still up past the election, here’s the table of vote tallys that their scraper powers: <a href="https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html#">https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html#</a></p>
<p>It’s based off of a project by Simon Willson: <a href="https://simonwillison.net/2020/Oct/9/git-scraping/">Git scraping: track changes over time by scraping to a Git repository</a>, which uses a Git repo to scrape data to with very little code. Definitely something to keep in mind for future projects.</p>
</div>
<footer>
<div class="tags">
<a href="https://gregpawin.com/tag/python.html">python</a>
<a href="https://gregpawin.com/tag/scraper.html">scraper</a>
<a href="https://gregpawin.com/tag/election.html">election</a>
<a href="https://gregpawin.com/tag/git.html">git</a>
</div>
<div class="pure-g post-footer">
<div class="pure-u-1 pure-u-md-1-2">
<div class="pure-g poster-info">
<div class="pure-u">
<img src="/images/profile.png" alt="">
</div>
<div class="pure-u-3-4">
<h3 class="author-name"><a href="https://gregpawin.com/author/greg-pawin.html">Greg Pawin</a></h3>
<p class="author-description">
Hi, I'm Greg. I bake a little bread, make sausage sometimes, and used to do surface science research. Nowadays I do a bit of programming.
</p>
</div>
</div>
</div>
</div>
</footer>
</div>
</body>
</html>