Working on case cards.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import fs from 'fs/promises'
|
||||
import fg from 'fast-glob'
|
||||
import StreamZip from 'node-stream-zip'
|
||||
import TestingTrend from './parser/testing-trend.js'
|
||||
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'
|
||||
|
||||
async function main() {
|
||||
const sources = await fg(['./data/raw/*.zip'])
|
||||
@@ -13,7 +15,10 @@ async function main() {
|
||||
zip: new StreamZip.async({ file: source })
|
||||
}))
|
||||
|
||||
await TestingTrend(zips)
|
||||
const counties = await Counties(zips)
|
||||
|
||||
await StateTesting(zips)
|
||||
await StateCases(zips, counties)
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user