Function to Download Data for a one Country
ReadHMD.core(what, country, interval, username, password)
What type of data are you looking for? There are available:
birth records "births"
, death counts "Dx"
,
deaths by Lexis triangles "lexis"
, population size "population"
,
exposure-to-risk "Ex"
, death-rates "mx"
,
life tables for females "LT_f"
, life tables for males "LT_m"
,
life tables both sexes combined "LT_t"
,
life expectancy at birth "e0"
,
cohort death-rates "mxc"
and cohort exposures "Exc"
.
HMD country code for the selected country. Character.
HMD data format: (age interval x year interval).
Interval options: 1x1
, 1x5
, 1x10
,
5x1
, 5x5
, 5x10
.
Your HMD username. If you don't have one you can sign up for free on Human Mortality Database website.
Your HMD password.