Rework data loading, get first dashboard roughly in order.

This commit is contained in:
Joshua Bemenderfer
2021-12-30 13:25:31 -05:00
parent b8cca082ed
commit 38976cf29d
180 changed files with 632 additions and 263 deletions

View File

@@ -32,12 +32,11 @@ async function processSingleZip(zip) {
combined_performed: (+row['ALL PCR tests performed']) + (+row['Antigen Tests Performed']),
combined_positive: (+row['All PCR positive tests']) + (+row['Antigen Positive Tests']),
seven_day_percent_positive: +row['7 day percent positive'],
combined_performed_running_total: (+row['Running total of all PCR tests']) + (+row['Running total of all Antigen tests']),
})
return counties
}, {})
console.log(JSON.stringify(Object.keys(counties), null, ' '))
for (const county in counties) {
const data = {
segment: { county },