Description Usage Arguments Value Warning See Also Examples
View source: R/mortality_ages.R
calc_covid_mortality()
is used to create a tibble of the COVID-19 mortality per age group and user-definded
time period.
1 2 3 4 5 6 | calc_covid_mortality(
ages = "all",
regions = "Germany",
from = "2020-01-01",
to = Sys.Date()
)
|
ages |
A vector of integer numbers that specify the desired age groups. |
regions |
A vector that either consists of strings (the names of German districts or the names of German states) or district ID's. If this vector contains more than entry, the function calculates the combined mortality of these districts or states. |
from |
A date that specifies the beginning of the time series |
to |
A date that specifies the end of the time series |
A tibble that contains the COVID-19 associated mortality per age group and time period.
These numbers must be handled carefully because of the unknown dark figure.
Other COVID-19 associated mortality:
plot_covid_mortality()
1 2 3 | calc_covid_mortality(ages=c(10,76,42),regions=c("Bayern","Sachsen"))
calc_covid_mortality(ages="all",regions=8221,from="2020-02-03",to="2021-02-03")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.