Add hospitalizations page.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user