Skip to content

Commit

Permalink
add README and archive
Browse files Browse the repository at this point in the history
  • Loading branch information
timkmecl committed Dec 28, 2022
1 parent 83d5cc4 commit b2ca617
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Binary file added archive/v1 13_3.pdf
Binary file not shown.
Binary file added archive/v2 20_3.pdf
Binary file not shown.
Binary file added archive/v3 20_3a.pdf
Binary file not shown.
Binary file added archive/v4 21_3.pdf
Binary file not shown.
Binary file added archive/v5 24_3.pdf
Binary file not shown.
Binary file added archive/v6 25_3.pdf
Binary file not shown.
File renamed without changes.
Binary file added archive/v7.1-29_3/hospit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.1-29_3/napoved.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.1-29_3/oku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.1-29_3/regije.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.1-29_3/starosti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.1-29_3/testi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/hospit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/napoved.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/oku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/regije.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/starosti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.2-1_4/testi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/hospit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/napoved.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/oku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/regije.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/starosti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archive/v7.3-4_4/testi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b2ca617

Please sign in to comment.