read.hmd: Function to read data sets from the Human Mortality Database

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

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

Arguments

country

Directory abbreviation from the HMD. For instance, Australia = "AUS".

sex

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

file

Directory abbreviation from the HMD. For instance, mortality rate = "Mx_1x1.txt".

username

Authenticate username.

password

Authenticate password.

yname

Type of data.

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

See Also

hmdstatistic, hmdcountry



Search within the fds package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.