Skip to content

Commit

Permalink
Remove case data from visualisation, reports and READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Dec 8, 2023
1 parent 02236ac commit 45fd35a
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Action name | Language | Scheduled at (UTC time) | Function |
|------------------------------------------------|------------|----------------------------------------------------------------|----------------------------------------------------|
| [`ecdc_owid_data.yml`](ecdc_owid_data.yml) | R | [12:07 every day](https://crontab.guru/#7_12_*_*_*) | Get recorded cases and deaths from ECDC, and hospitalisations from OWID |
| [`ecdc_owid_data.yml`](ecdc_owid_data.yml) | R | [12:07 every day](https://crontab.guru/#7_12_*_*_*) | Get recorded deaths from ECDC, and hospitalisations from OWID |
| [`check-truth.yml`](check-truth.yml) | Python & R | [13:00 every day](https://crontab.guru/#0_13_*_*_*) | Check truth data |
| [`ensemble.yml`](ensemble.yml) | R | [11:15 every Tuesday and Wednesday](https://crontab.guru/#15_11_*_*_2,3) | Create weekly ensemble |
| [`release.yml`](release.yml) | R | [11:15 every Thursday](https://crontab.guru/#15_11_*_*_4) | Create GitHub release |
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ knitr::opts_chunk$set(

# European COVID-19 Forecast Hub

We are aggregating forecasts of new cases and deaths due to Covid-19 over the next four weeks in countries across Europe and the UK.
We are aggregating forecasts of new hospitalisations and deaths due to Covid-19 over the next four weeks in countries across Europe and the UK.

##### Latest forecasts

Expand Down Expand Up @@ -45,7 +45,7 @@ We require some forecast parameters so that we can compare and ensemble forecast

| Parameter | Description |
|-----------|---------------------------------------|
| Target | Cases, hospitalisations and/or deaths |
| Target | Hospitalisations and/or deaths |
| Count | Incident |
| Geography | EU/EFTA/UK nations (any/all) |
| Frequency | Weekly |
Expand Down
115 changes: 58 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@

# European COVID-19 Forecast Hub

We are aggregating forecasts of new cases and deaths due to Covid-19
over the next four weeks in countries across Europe and the UK.
We are aggregating forecasts of new hospitalisations and deaths due to
Covid-19 over the next four weeks in countries across Europe and the UK.

##### Latest forecasts

- View the [current
forecasts](https://covid19forecasthub.eu/visualisation)
- We publish a weekly
[evaluation](https://covid19forecasthub.eu/reports) of current
forecasts
- Raw forecast files are in the
[data-processed](https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/tree/main/data-processed)
folder
- View the [current
forecasts](https://covid19forecasthub.eu/visualisation)
- We publish a weekly
[evaluation](https://covid19forecasthub.eu/reports) of current
forecasts
- Raw forecast files are in the
[data-processed](https://github.com/european-modelling-hubs/covid19-forecast-hub-europe/tree/main/data-processed)
folder

##### README contents

- [Quick start](#quick-start)
- [About Covid-19 forecast hubs](#about-covid-19-forecasting-hubs)
- [European forecast hub team](#european-forecast-hub-team)
- [Data license and reuse](#data-license-and-reuse)
- [Quick start](#quick-start)
- [About Covid-19 forecast hubs](#about-covid-19-forecasting-hubs)
- [European forecast hub team](#european-forecast-hub-team)
- [Data license and reuse](#data-license-and-reuse)

## Quick start

Expand All @@ -42,13 +42,13 @@ directory](../../wiki/Creating-a-team-directory) - Add your
We require some forecast parameters so that we can compare and ensemble
forecasts. All forecasts should use the following structure:

| Parameter | Description |
| --------- | ------------------------------------- |
| Target | Cases, hospitalisations and/or deaths |
| Count | Incident |
| Geography | EU/EFTA/UK nations (any/all) |
| Frequency | Weekly |
| Horizon | 1 to 4 weeks |
| Parameter | Description |
|-----------|--------------------------------|
| Target | Hospitalisations and/or deaths |
| Count | Incident |
| Geography | EU/EFTA/UK nations (any/all) |
| Frequency | Weekly |
| Horizon | 1 to 4 weeks |

There is no obligation to submit forecasts for all suggested targets or
horizons, and it is up to you to decide which you are comfortable
Expand Down Expand Up @@ -97,17 +97,17 @@ This effort parallels forecasting hubs in the US and Germany. We follow
a similar structure and data format, and re-use software provided by the
ReichLab.

- The [US COVID-19 Forecast
Hub](https://github.com/reichlab/covid19-forecast-hub) is run by the
UMass-Amherst Influenza Forecasting Center of Excellence based at
the [Reich Lab](https://reichlab.io/).
- The [US COVID-19 Forecast
Hub](https://github.com/reichlab/covid19-forecast-hub) is run by the
UMass-Amherst Influenza Forecasting Center of Excellence based at the
[Reich Lab](https://reichlab.io/).

- The [German and Polish COVID-19 Forecast
Hub](https://github.com/KITmetricslab/covid19-forecast-hub-de) is
run by members of the [Karlsruher Institut für Technologie
(KIT)](https://statistik.econ.kit.edu/index.ph) and the
[Computational Statistics Group at Heidelberg Institute for
Theoretical Studies](https://www.h-its.org/research/cst/).
- The [German and Polish COVID-19 Forecast
Hub](https://github.com/KITmetricslab/covid19-forecast-hub-de) is run
by members of the [Karlsruher Institut für Technologie
(KIT)](https://statistik.econ.kit.edu/index.ph) and the [Computational
Statistics Group at Heidelberg Institute for Theoretical
Studies](https://www.h-its.org/research/cst/).

### European forecast hub team

Expand All @@ -119,38 +119,38 @@ is now maintained by the ECDC.

Direct contributors to this repository include (in alphabetical order):

- Daniel Wolffram
- Hugo Gruson
- Jannik Deuschel
- [Johannes
Bracher](https://statistik.econ.kit.edu/mitarbeiter_2902.php)
- Katharine Sherratt
- Nikos Bosse
- [Sebastian
Funk](https://www.lshtm.ac.uk/aboutus/people/funk.sebastian)
- Daniel Wolffram
- Hugo Gruson
- Jannik Deuschel
- [Johannes
Bracher](https://statistik.econ.kit.edu/mitarbeiter_2902.php)
- Katharine Sherratt
- Nikos Bosse
- [Sebastian
Funk](https://www.lshtm.ac.uk/aboutus/people/funk.sebastian)

The [interactive visualization
tool](https://covid19forecasthub.eu/visualisation/) (code available
[here](https://github.com/SignaleRKI/forecast-europe)) has been
developed by the [Signale Team at Robert Koch
Institute](https://www.rki.de/EN/Content/infections/epidemiology/signals/signals_node.html):
- Fabian Eckelmann - Knut Perseke - Alexander Ullrich
Institute](https://www.rki.de/EN/Content/infections/epidemiology/signals/signals_node.html): -
Fabian Eckelmann - Knut Perseke - Alexander Ullrich

### Data license and reuse

- The forecasts assembled in this repository have been created by
independent teams. Most provide a license in their respective
subfolder of `data-processed`.
- Parts of the processing, analysis and validation code have been
taken or adapted from the [US Covid-19 forecast
hub](https://github.com/reichlab/covid19-forecast-hub) and the
[Germany/Poland Covid-19 forecast
hub](https://github.com/KITmetricslab/covid19-forecast-hub-de) both
under an [MIT
license](https://github.com/reichlab/covid19-forecast-hub/blob/master/LICENSE).
- All code contained in this repository is under the [MIT
license](/LICENSE). **Please get in touch with us to re-use
materials from this repository.**
- The forecasts assembled in this repository have been created by
independent teams. Most provide a license in their respective
subfolder of `data-processed`.
- Parts of the processing, analysis and validation code have been taken
or adapted from the [US Covid-19 forecast
hub](https://github.com/reichlab/covid19-forecast-hub) and the
[Germany/Poland Covid-19 forecast
hub](https://github.com/KITmetricslab/covid19-forecast-hub-de) both
under an [MIT
license](https://github.com/reichlab/covid19-forecast-hub/blob/master/LICENSE).
- All code contained in this repository is under the [MIT
license](/LICENSE). **Please get in touch with us to re-use materials
from this repository.**

To cite the European Covid-19 Forecast Hub in project in publications,
please use the following references:
Expand All @@ -167,8 +167,9 @@ Data:
> NA
<details>

<summary>Bibtex</summary>
<summary>
Bibtex
</summary>

``` bibtex
NA
Expand Down
2 changes: 1 addition & 1 deletion code/auto_download/check-revisions-owid-ecdc.r
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ library("vroom")
latest_date <- lubridate::today()
wday(latest_date) <- EuroForecastHub::get_hub_config("forecast_week_day")

sources <- list(ECDC = c("Cases", "Deaths"), OWID = "Hospitalizations")
sources <- list(ECDC = c("Deaths"), OWID = "Hospitalizations")

cutoff_days <- 28

Expand Down
1 change: 0 additions & 1 deletion code/reports/rmdchunks/get-config-vars.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ countries_hub <- get_hub_config("forecast_locations", config_file = params$confi
# necessary to add a new target
target_variables <- c(
Hospitalisations = "inc hosp",
Cases = "inc case",
Deaths = "inc death"
)
```
Expand Down
2 changes: 0 additions & 2 deletions viz/prepare_forecast_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ def createForecastDataItem(row):
target_type = ''
if (target == 'inc death'):
target_type = 'death'
elif (target == 'inc case'):
target_type = 'cases'
elif (target == 'inc hosp'):
target_type = 'hosp'
else:
Expand Down
1 change: 0 additions & 1 deletion viz/prepare_truth_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ library(tidyr)
# without hardcoding target types
truth <- c(
"inc_death" = "ECDC/truth_ECDC-Incident Deaths.csv",
"inc_case" = "ECDC/truth_ECDC-Incident Cases.csv",
"inc_hosp" = "OWID/truncated_OWID-Incident Hospitalizations.csv"
) |>
imap(~ read_csv(here("data-truth", .x)) %>% mutate(name = .y)) |>
Expand Down

0 comments on commit 45fd35a

Please sign in to comment.