read_stmf: Read Short-Term Mortality Fluctuations data from the Human...

View source: R/STMF.R

read_stmfR Documentation

Read Short-Term Mortality Fluctuations data from the Human Mortality Database

Description

read_stmf reads weekly mortality data from the Short-term Mortality Fluctuations (STMF) series available in the Human Mortality Database (HMD) https://www.mortality.org/Data/STMF), and constructs a vital object suitable for use in other functions.

Usage

read_stmf(country)

Arguments

country

Country name or country code as specified by the HMD. For instance, Australian data can be obtained using country = "Australia" or country = "AUS".

Value

A vital object combining the downloaded data.

Author(s)

Sixian Tang

Examples

## Not run: 
norway <- read_stmf(country = "NOR")

## End(Not run)



vital documentation built on Aug. 21, 2025, 5:34 p.m.