diff --git a/README.md b/README.md new file mode 100644 index 0000000..d8e7c54 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# Covid data visualization and analysis for Slovenia + +This was my personal project for visualizing and analyzing COVID-19 data for Slovenia during the first wave of the pandemic in spring 2020. I started it on 13. march (beginning of the first lockdown), and kept updating and improving it until april, when [Sledilnik](https://covid-19.sledilnik.org/sl/stats ) became good enough to replace most of it. + +Raw data (number of cases and tests) was gathered from various sources, then combined, cleaned and analysed in Python. The visualizations were done in Python inside Jupyter Notebook using `pandas`, `matplotlib` and `seaborn`. Predictions were calculated using [SIR-X model](http://rocs.hu-berlin.de/corona/docs/forecast/model/). At first I was exporting the results as a pdf of the entire notebook, but later switched to exporting just the images. + +Below you can see example visualizations for 1. april. Final analysis for the last day changes were made (4. april 2020) is in the [Korona.ipynb](Korona.ipynb) notebook, and the corresponding images are in the [images](images) folder. Check out the [archive](archive) folder for earlier data. *Note that everything is in Slovenian*. + + +### Sources of the data (some may not work anymore): + +1. NIJZ: *[Spremljanje koronavirusa SARS-CoV-2 (COVID-19)](https://www.nijz.si/sl/pojav-novega-koronavirusa-2019-ncov)* +2. NIJZ: *[Dnevno spremljanje okužb s SARS-CoV-2 (COVID-19) [graph]](https://www.nijz.si/sl/dnevno-spremljanje-okuzb-s-sars-cov-2-covid-19)* +3. Data published by the government on *[gov.si](https://www.gov.si/teme/koronavirus/)* and *[twitter](https://twitter.com/vladaRS)*. +4. Luka Renko and others: *[COVID-19 Slovenija](https://slo-covid-19.rtfm.si/#/about)* + +## Graphs for 4. april + +### Cases + +Cumulative & daily new cases (linear and log scale), growth analysis (new cases as percentage of all, doubling time) + +![](archive/v7.2-1_4/oku.png) + +### Tests + +Cumulative & daily new (linear and log scale), daily and overall positive percentage + +![](archive/v7.2-1_4/testi.png) + +### Hospitalized + +Hospitilized patients, ICU patiens and cumulative deaths, both absolute and as a percentage of cumulative infections + +![](archive/v7.2-1_4/hospit.png) + +### Cases by age + +Cumulative and daily new cases by age group (total and per 100k population), both absolute and relative + +![](archive/v7.2-1_4/starosti.png) + +### Cases by region + +Cumulative and daily new cases by region (total and per 100k population), both absolute and relative + +![](archive/v7.2-1_4/regije.png) + +### Predictions (4. april) + +Predictions for the next week using [SIR-X model](http://rocs.hu-berlin.de/corona/docs/forecast/model/) + +![](archive/v7.3-4_4/napoved.png) \ No newline at end of file diff --git a/archive/v1 13_3.pdf b/archive/v1 13_3.pdf new file mode 100644 index 0000000..ce39e93 Binary files /dev/null and b/archive/v1 13_3.pdf differ diff --git a/archive/v2 20_3.pdf b/archive/v2 20_3.pdf new file mode 100644 index 0000000..e954753 Binary files /dev/null and b/archive/v2 20_3.pdf differ diff --git a/archive/v3 20_3a.pdf b/archive/v3 20_3a.pdf new file mode 100644 index 0000000..6bf612d Binary files /dev/null and b/archive/v3 20_3a.pdf differ diff --git a/archive/v4 21_3.pdf b/archive/v4 21_3.pdf new file mode 100644 index 0000000..4279c0c Binary files /dev/null and b/archive/v4 21_3.pdf differ diff --git a/archive/v5 24_3.pdf b/archive/v5 24_3.pdf new file mode 100644 index 0000000..05237e3 Binary files /dev/null and b/archive/v5 24_3.pdf differ diff --git a/archive/v6 25_3.pdf b/archive/v6 25_3.pdf new file mode 100644 index 0000000..abe524f Binary files /dev/null and b/archive/v6 25_3.pdf differ diff --git a/Korona.pdf b/archive/v7 26_3.pdf similarity index 100% rename from Korona.pdf rename to archive/v7 26_3.pdf diff --git a/archive/v7.1-29_3/hospit.png b/archive/v7.1-29_3/hospit.png new file mode 100644 index 0000000..f87a0fa Binary files /dev/null and b/archive/v7.1-29_3/hospit.png differ diff --git a/archive/v7.1-29_3/napoved.png b/archive/v7.1-29_3/napoved.png new file mode 100644 index 0000000..c0d5950 Binary files /dev/null and b/archive/v7.1-29_3/napoved.png differ diff --git a/archive/v7.1-29_3/oku.png b/archive/v7.1-29_3/oku.png new file mode 100644 index 0000000..9c79f11 Binary files /dev/null and b/archive/v7.1-29_3/oku.png differ diff --git a/archive/v7.1-29_3/regije.png b/archive/v7.1-29_3/regije.png new file mode 100644 index 0000000..e39d278 Binary files /dev/null and b/archive/v7.1-29_3/regije.png differ diff --git a/archive/v7.1-29_3/starosti.png b/archive/v7.1-29_3/starosti.png new file mode 100644 index 0000000..b019c70 Binary files /dev/null and b/archive/v7.1-29_3/starosti.png differ diff --git a/archive/v7.1-29_3/testi.png b/archive/v7.1-29_3/testi.png new file mode 100644 index 0000000..a1767e0 Binary files /dev/null and b/archive/v7.1-29_3/testi.png differ diff --git a/archive/v7.2-1_4/hospit.png b/archive/v7.2-1_4/hospit.png new file mode 100644 index 0000000..3d02388 Binary files /dev/null and b/archive/v7.2-1_4/hospit.png differ diff --git a/archive/v7.2-1_4/napoved.png b/archive/v7.2-1_4/napoved.png new file mode 100644 index 0000000..6114204 Binary files /dev/null and b/archive/v7.2-1_4/napoved.png differ diff --git a/archive/v7.2-1_4/oku.png b/archive/v7.2-1_4/oku.png new file mode 100644 index 0000000..c9ef4f8 Binary files /dev/null and b/archive/v7.2-1_4/oku.png differ diff --git a/archive/v7.2-1_4/regije.png b/archive/v7.2-1_4/regije.png new file mode 100644 index 0000000..ade8921 Binary files /dev/null and b/archive/v7.2-1_4/regije.png differ diff --git a/archive/v7.2-1_4/starosti.png b/archive/v7.2-1_4/starosti.png new file mode 100644 index 0000000..b630457 Binary files /dev/null and b/archive/v7.2-1_4/starosti.png differ diff --git a/archive/v7.2-1_4/testi.png b/archive/v7.2-1_4/testi.png new file mode 100644 index 0000000..01e9e0d Binary files /dev/null and b/archive/v7.2-1_4/testi.png differ diff --git a/archive/v7.3-4_4/hospit.png b/archive/v7.3-4_4/hospit.png new file mode 100644 index 0000000..3dead16 Binary files /dev/null and b/archive/v7.3-4_4/hospit.png differ diff --git a/archive/v7.3-4_4/napoved.png b/archive/v7.3-4_4/napoved.png new file mode 100644 index 0000000..318519c Binary files /dev/null and b/archive/v7.3-4_4/napoved.png differ diff --git a/archive/v7.3-4_4/oku.png b/archive/v7.3-4_4/oku.png new file mode 100644 index 0000000..bbc3bd0 Binary files /dev/null and b/archive/v7.3-4_4/oku.png differ diff --git a/archive/v7.3-4_4/regije.png b/archive/v7.3-4_4/regije.png new file mode 100644 index 0000000..21c5919 Binary files /dev/null and b/archive/v7.3-4_4/regije.png differ diff --git a/archive/v7.3-4_4/starosti.png b/archive/v7.3-4_4/starosti.png new file mode 100644 index 0000000..abfbbf3 Binary files /dev/null and b/archive/v7.3-4_4/starosti.png differ diff --git a/archive/v7.3-4_4/testi.png b/archive/v7.3-4_4/testi.png new file mode 100644 index 0000000..03d702c Binary files /dev/null and b/archive/v7.3-4_4/testi.png differ