GitXplorerGitXplorer
f

covid-19-dk-data

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
cdc132159f2964822ef7af7df1b23fc68829aa87

Note that data updates have been halted

ffuglede committed 2 years ago
Verified
ea69e0ac024f4b51acf2a6e1eb082205999a7f3b

Run apt-get update before installing packages

ffuglede committed 3 years ago
Verified
28d4a91c49bb95f68cd85268938e84b853030bf4

Merge pull request #2 from fuglede/fuglede-patch-1

ffuglede committed 3 years ago
Verified
7014bada6eb130edddc1635f7d70cd05b84acf23

Allow manual update runs

ffuglede committed 3 years ago
Verified
9bf343bce2d34cd2808193d043afd9413ab38cb4

Merge pull request #1 from fuglede/fuglede-patch-1

ffuglede committed 3 years ago
Verified
1b873e1541db96d069a82c3f2e747d40aa6c96ab

Include pre-existing datasets in index

ffuglede committed 3 years ago

README

The README file for this repository.

Archived: SSI stopped updating the daily data on March 31, 2023.

Danish COVID-19 data

Every day, SSI publishes new tracking data on COVID-19 for Denmark. However, automatically finding the most recent data and using it is a bit awkward due to files being randomly named and zipped. The purpose of this repository is simply to automate the annoying parts, making the data as accessible as possible.

In particular, the most recent tracking data can be found on https://fuglede.github.io/covid-19-dk-data/ with URLs that only change if SSI decides to change their filenames. See the bundled readme (Danish) for more information on what data is available.

The data available here is updated every day at 13:10 GMT.

Example

The format of the bundled data makes it easy to get started doing analyses. Here, as an example, we use pandas to see how the effective reproduction number has changed this week:

>>> import pandas as pd
>>> pd.read_csv("https://fuglede.github.io/covid-19-dk-data/Rt_cases.csv", sep=";", decimal=",").tail(7)
     SampleDate  estimate  uncertainty_lower  uncertainty_upper
535  2021-09-12       1.0                0.8                1.2
536  2021-09-13       1.0                0.9                1.2
537  2021-09-14       1.0                0.9                1.2
538  2021-09-15       1.0                0.9                1.2
539  2021-09-16       1.0                0.8                1.3
540  2021-09-17       1.1                0.8                1.3
541  2021-09-18       1.1                0.8                1.3