HMDtidy: Tidy HMD Data

Description Usage Arguments Details Value

Description

Tidy HMD Data

Usage

1
HMDtidy(.x, .measure)

Arguments

.x

HMD web data

.measure

"Dx" (death counts), "Nx" (exposures in person years) or "mx" (mortality rates)

Details

This function takes HMD data as downloaded from the web, reshapes it into long format (Female, Male, Total columns to Sex + Value column) and converts the age variable to numeric (and in the process changing the age category 110+ to 110).

Value

Tidied HMD data


jschoeley/hmdget documentation built on May 20, 2019, 2:07 a.m.