/TR1

Read Human Mortality Database and Human Fertility Database Data from the Web

Primary LanguageR

HMDHFDplus

Read Human Mortality Database and Human Fertility Database Data from the Web as described in MPIDR technical report: https://dx.doi.org/10.4054/MPIDR-TR-2015-004

Creative Commons License
"Reading Human Fertility Database and Human Mortality Database data into R" by Timothy L. M. Riffe is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Build Status CRAN status issues license

The HMDHFDplus package only contains functions for reading data into R. Currently there are functions for reading in HMD, JMD, CHMD, HFD, and HFC code, and there are plans to implement HLD code as well.

Installation

The package is on CRAN: https://cran.r-project.org/web/packages/HMDHFDplus/

This means you can install it using:

install.packages("HMDHFDplus")

The version hosted in this repository is often more up-to-date; it pushes to CRAN whenever major features or fixes come up.

# install.packages("remotes", dependencies = TRUE)
library(remotes)
install_github("timriffe/TR1/TR1/HMDHFDplus")

To report a bug

Just go to the main repository page and click on the Issues button on the right side. Otherwise, just email me.

  • I know about the current HMD issue and ask for patience until I figure out how to deal with Cookies and so on. There is currently a patch in place that relies on a mirror to the old HMD website (which nonetheless has up to date data), and which requires the old website credentials to use.