nprapps / elections20-interactive

Front-end graphics for the 2020 general election
https://apps.npr.org/elections20-interactive/
Other
8 stars 1 forks source link

When eevp is available, % in doesn't match between boards and resultsTableCandidates #142

Closed ruthwtalbot closed 4 years ago

ruthwtalbot commented 4 years ago

If eevp isn't available, the president board falls back to % reporting, but the resultsTableCandidates does not, leading them to differ in % in. Unsure if it's ok to fall back to % reporting because the footnote on the presidential big board specifically mentions estimated votes, but either way they should probably match

And should keep an eye out to make sure eevp starts coming in.

thomaswilburn commented 4 years ago

EEVP should be populated now, and I've added some code to prefer it even if it's zero and there are non-zero precincts reporting. Closing this for now.