Add data for 2022-01-25.
This commit is contained in:
@@ -19,13 +19,13 @@ async function main() {
|
||||
const sources = await fg(['./data/raw/dph-daily-report/*.zip'])
|
||||
sources.sort()
|
||||
|
||||
const zips = sources.map(source => ({
|
||||
const zips = sources.slice(-7).map(source => ({
|
||||
date: path.basename(source, path.extname(source)),
|
||||
zip: new StreamZip.async({ file: source })
|
||||
}))
|
||||
|
||||
const vaccinations = await fg(['./data/raw/vaccinations/*.xlsx'])
|
||||
const vaccinationSheets = vaccinations.map(source => ({
|
||||
const vaccinationSheets = vaccinations.slice(-7).map(source => ({
|
||||
date: path.basename(source, path.extname(source)),
|
||||
xlsx: XLSX.readFile(source)
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user