read.hmd {fds}R Documentation

Function to read data sets from the Human Mortality Database

Description

This function allows users to read any data set from the Human Mortality Database (HMD).

Usage

read.hmd(country, sex, file = "Mx_1x1.txt", username, password)

Arguments

country Directory abbreviation from the HMD.
sex Type of data sets.
file Directory abbreviation from the HMD.
username Authenticate username.
password Authenticate password.

Details

In order to read the data sets, users are required to create their account via the HMD website (http://www.mortality.org/), and obtain a valid username and password.

Value

An object of class fts.

Author(s)

Han Lin Shang and Rob J Hyndman


[Package fds version 1.1 Index]