Add hospitalizations page.

This commit is contained in:
Joshua Bemenderfer
2021-12-31 14:37:38 -05:00
parent e37988dd2f
commit c19601b8f3
188 changed files with 729 additions and 28 deletions

View File

@@ -3,8 +3,9 @@ import fg from 'fast-glob'
import path from 'path'
import StreamZip from 'node-stream-zip'
import Counties from './parser/counties.js'
import StateTesting from './parser/state/testing.js'
import StateCases from './parser/state/cases.js'
import OverallTesting from './parser/overall/testing.js'
import OverallCases from './parser/overall/cases.js'
import OverallHospitalizations from './parser/overall/hospitalizations.js'
async function main() {
const sources = await fg(['./data/raw/*.zip'])
@@ -17,8 +18,9 @@ async function main() {
const counties = await Counties(zips)
await StateTesting(zips)
await StateCases(zips, counties)
await OverallTesting(zips)
await OverallCases(zips, counties)
await OverallHospitalizations(zips, counties)
}
main()