This script fetches the data shown in the SARS-CoV-2 dashboard and exports it in csv
and json
formats.
Just run the following instructions on the root folder
npm install
npm run start
All files will be created on the /data/
folder.
Daily files are available in this repository
File name | description |
---|---|
areesBasiques | This file contains a list of all "Arees bàsiques de salut". Each element has the following attributes
Elements of the GeoJSON version of this file also contains, in addition to the geometry of each area, the following attributes:
|
PCRByAgeRange | This file contains the number of cases by age range. Each element has the following attributes
|
PCRBySex | This file contains the number of cases per sex. Each element has the following attributes
|
PCRTotals | This file contains the total number of cases. Each element has the following attributes
|
PCRVariation | This file contains the variation of the number of cases since the beginning of the data. Each element has the following attributes
|
frotis | This file contains the number of cases diagnosed by the smear method. Each element has the following attributes
|