| read_stmf | R Documentation |
read_stmf reads weekly mortality data from the Short-term Mortality Fluctuations (STMF)
series available in the Human Mortality Database (HMD) https://www.mortality.org/Data/STMF,
and constructs a vital object suitable for use in other functions.
The HMD requires a login to download STMF data.
read_stmf(country, username, password)
country |
Country name or country code as specified by the HMD. For instance, Australian
data can be obtained using |
username |
HMD username (case-sensitive) |
password |
HMD password (case-sensitive) |
A vital object combining the downloaded data.
Sixian Tang
read_stmf_files() for reading STMF files that have already been downloaded.
## Not run:
norway <- read_stmf(
country = "NOR",
username = "Nora.Weigh@mymail.com",
password = "FF!5xeEFa6"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.