%run germany-compute-hospitalisierungsrate.ipynb
print(f"Data source: {data_url}")
Data source: https://github.com/robert-koch-institut/COVID-19-Hospitalisierungen_in_Deutschland/blob/master/Aktuell_Deutschland_COVID-19-Hospitalisierungen.csv?raw=true
# filter for the data we care about
data = germany_fetch_hospitalisierungs_inzidenz()
# select subset of data we care about
data = data[["Bundesland", "7T_Hospitalisierung_Inzidenz"]]
today = hi.loc[hi.index.max()]
today.sort_values(by='7T_Hospitalisierung_Inzidenz', ascending=False)
Bundesland | 7T_Hospitalisierung_Inzidenz | |
---|---|---|
Datum | ||
2021-11-24 | Thüringen | 18.58 |
2021-11-24 | Sachsen-Anhalt | 12.66 |
2021-11-24 | Bayern | 9.49 |
2021-11-24 | Mecklenburg-Vorpommern | 7.26 |
2021-11-24 | Bremen | 6.62 |
2021-11-24 | Baden-Württemberg | 6.28 |
2021-11-24 | Bundesgebiet | 5.74 |
2021-11-24 | Sachsen | 5.20 |
2021-11-24 | Hessen | 4.43 |
2021-11-24 | Schleswig-Holstein | 4.36 |
2021-11-24 | Brandenburg | 4.15 |
2021-11-24 | Nordrhein-Westfalen | 3.96 |
2021-11-24 | Rheinland-Pfalz | 3.46 |
2021-11-24 | Berlin | 3.25 |
2021-11-24 | Saarland | 3.15 |
2021-11-24 | Hamburg | 2.92 |
2021-11-24 | Niedersachsen | 2.70 |
fig, ax = plot_hi(data["2021-10-01":])
import oscovida
oscovida.display_binder_link("germany-hospitalisierungsrate.ipynb")