hmdstatistic {fds}R Documentation

Function to read a bundle of data sets from the Human Mortality Database

Description

This function returns a list of all the countries currently available in the HMD, related to a specified data type.

Usage

hmdstatistic(sex, type = c("birth count", "death count", "population", "exposure", 
 "mortality rate", "life expectancy"), username, password)

Arguments

sex

Possible options are "Male", "Female", "Total".

type

Type of data.

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

List of objects of class fts.

Author(s)

Han Lin Shang and Rob J Hyndman

See Also

read.hmd, hmdcountry


[Package fds version 1.8 Index]