https://github.com/eightsq/inzidenzkarte
Schnell zusammengehacktes Plotting script für 7-Tage Inzidenzdaten vom RKI.
https://github.com/eightsq/inzidenzkarte
Last synced: about 1 year ago
JSON representation
Schnell zusammengehacktes Plotting script für 7-Tage Inzidenzdaten vom RKI.
- Host: GitHub
- URL: https://github.com/eightsq/inzidenzkarte
- Owner: EightSQ
- License: mit
- Created: 2021-04-11T00:20:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-17T19:19:03.000Z (over 4 years ago)
- Last Synced: 2025-02-15T00:45:21.183Z (over 1 year ago)
- Language: Julia
- Size: 3.14 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inzidenzkarte von Deutschland
This is plotting script quickly hacked together to visualize official COVID-19
infection data for Germany by the Robert-Koch-Institute.
## Usage
To use, download one of the daily updated `.xlsx` files by the
[Robert-Koch-Institute](https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Fallzahlen.html).
You can then open the julia console in the project with `julia --project=@.` and
resolve all dependencies with `]resolve`.
Finally, you can load the script with `include("main.jl")`.
The following script generates a png file given the `.xlsx` file.
```julia
fig = rki_plot("downloaded_rki_file.xlsx", "2021/04/10")
save("plot.png", fig.scene) # save the plot into plot.png
```
And now you can admire a wonderful plot.

I only have tested this on Julia 1.6, but 1.5 should be fine, too.
## Map data
The included map data (`landkreise.geojson`) come from
[here](http://opendatalab.de/projects/geojson-utilities/) and
[here](https://github.com/m-hoerz/berlin-shapes).