fds (version 1.8)

hmdstatistic: 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.

Value

List of objects of class fts.

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.

See Also

read.hmd, hmdcountry