alex / nyt-2020-election-scraper

https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html
MIT License
1.76k stars 289 forks source link

Always use latest expected votes value #372

Closed saleemrashid closed 3 years ago

saleemrashid commented 3 years ago

The latest batch contains the best estimate for the total expected votes so we should always use it, even for old batches.

Motivation

Similarly to how we use the latest proportion of third-party votes, as implemented in #367, we should use the latest expected votes value (since the latest estimate is the best estimate we have).

Changes

Before:

After: