Dashboard to visualize the progress of covid vaccinations per municipality.
Numbers are imported on a daily basis from Vaccinnet+. Vaccinnet+ is the platform of the Flemish Government to manage the covid vaccinations.
CSV endpoint: https://www.laatjevaccineren.be/vaccination-info/get
A statically generated Hugo site.
Build:
cd website
hugo -D --minify
Dev server (https://localhost:1313):
cd website
hugo server --minify --ignoreCache
A python script that downloads the CSV, with the daily vaccination status, and computes the numbers for all available municipalities. The CSV will be added to the data folder. The output of the crunched numbers (JSON dumps) will be added to the Hugo data folder per municipality.
cd scripts
python process.py fetch 11-03-2021
python process.py crunch
Shortcut to download, crunch, commit & push a daily update.
./update.sh
Webpage is hosted on AWS Amplify and automatically deployed on each commit.
AWS Amplify build script. Needs to be copy/pasted in the AWS Amplify Console.
version: 1
applications:
- frontend:
phases:
build:
commands:
- hugo -D --minify
artifacts:
baseDirectory: public
files:
- '**/*'
appRoot: website