Skip to contents

Fetches the mortality table from the HMD database. This function needs valid credentials for HMD stored using the keyring package under a service labelled mortality.org.

Usage

gdt_hmd_mortality(country)

Arguments

country

A string with the country name

Value

A demogdata object

Examples

if (FALSE) { # interactive()
# This example isn't run because it
# would need HMD credentials

gdt_hmd_mortality("France")
}