Read Human Mortality Database and Human Fertility Database Data from the Web
age2int()
convert the Age column from standard HMD or HFD tables to ...
get a named vector of CHMD province codes
getHFCcountries a function to grab all present country codes used in t...
internal function for grabbing the HFD country short codes.
internal function for grabbing the date of last update for a given HFD...
List the available data item names for a given HFD country.
internal function for grabbing the HMD country short codes.
internal function for grabbing the available data item names for a giv...
get a named vector of JMD prefecture codes
HFCparse internal function for modifying freshly read HCD data in its ...
internal function for modifying freshly read HFD data in its standard ...
internal function for modifying freshly read HMD data in its standard ...
read data from the Canadian Human Mortality Database into R
readHFD()
reads a standard HFD .txt table as a data.frame
read an HFD data file directly from the web as an R data.frame
readHMD()
reads a standard HMD .txt table as a data.frame
readHMDweb a basic HMD data grabber.
read data from the Japan Mortality Database into R
userInput let the user type in a character string
Utilities for reading data from the Human Mortality Database (<https://www.mortality.org>), Human Fertility Database (<https://www.humanfertility.org>), and similar databases from the web or locally into an R session as data.frame objects. These are the two most widely used sources of demographic data to study basic demographic change, trends, and develop new demographic methods. Other supported databases at this time include the Human Fertility Collection (<https://www.fertilitydata.org>), The Japanese Mortality Database (<https://www.ipss.go.jp/p-toukei/JMD/index-en.html>), and the Canadian Human Mortality Database (<http://www.bdlc.umontreal.ca/chmd/>). Arguments and data are standardized.