Skip to content

Dashboard to visualize the progress of the covid vaccination per municipality in Flanders (Belgium).

License

Notifications You must be signed in to change notification settings

lukin0110/vaccinations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vaccination stats per municipality

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

Build Hugo website

A statically generated Hugo site.

Build:

cd website
hugo -D --minify

Dev server (https://localhost:1313):

cd website
hugo server --minify --ignoreCache

Import & process CSV

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

Deployment

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

Other

About

Dashboard to visualize the progress of the covid vaccination per municipality in Flanders (Belgium).

Topics

Resources

License

Stars

Watchers

Forks