HMDget: Download HMD Data from the Web

Description Usage Arguments Value Examples

Description

Download HMD Data from the Web

Usage

1
HMDget(.country, .timeframe = "p+c", .measure, .username, .password)

Arguments

.country

HMD country code as found in hmdcbook, multiple countries allowed

.timeframe

"c" (cohort), "p" (period) or "p+c" (period and cohort)

.measure

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

.username

HMD username

.password

HMD password

Value

Death counts, exposures or mortality rates by country, timeframe, year, age and sex in long format with numeric age categories.

Examples

1
2
3
4
5
6
7
8
## Not run: 
HMDget(.country   = "SWE",
       .timeframe = "p",
       .measure   = "mx",
       .username  = "***",
       .password  = "***")

## End(Not run)

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