as_demogdata: Convert the death rate humble data to demogdata

View source: R/convert.R

as_demogdataR Documentation

Convert the death rate humble data to demogdata

Description

Note that data should containly only one country or supply the country to select in the country argument.

Usage

as_demogdata(data, country = NULL)

Arguments

data

A humble object from hmd_data() with stats = c("death_rate", "exposures_to_risk").

country

A single country within the data. If data contains only a single country, then there is no need to supply this.


emitanaka/mortality documentation built on Nov. 2, 2022, 12:29 a.m.