get_abs_deaths: Time series of the total number of daily deaths in Germany

Description Usage Arguments Value See Also Examples

View source: R/deaths.R

Description

get_abs_deaths is used to create a tibble of the total number of deaths during the time span of a year. It is possible to include more than one year.

Usage

1
get_abs_deaths(years = 2020)

Arguments

years

A vector of years. The years must be represented as integers. Data is available for the years 2000 up to 2020.

Value

A tibble that contains the daily death data of the years the user specified.

See Also

Other total number of daily deaths: plot_abs_deaths()

Examples

1
2
3
4
5
6
7
get_abs_deaths(c(2001,2003,2006,2016))

## Not run: get_abs_deaths(1999)
#Data is only available for 2000-2020

## Not run: get_abs_deaths(c("2006"))
#The years must be integer values

slausmeister/revolution documentation built on Dec. 23, 2021, 3:24 a.m.