read_stmf_files | R Documentation |
read_stmf_files
reads weekly mortality data from a file downloaded
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.
read_stmf_files(file)
file |
Name of a file containing data downloaded from the HMD. |
read_stmf_files
returns a vital
object combining the downloaded data.
Rob J Hyndman
## Not run:
# File downloaded from the [Human Mortality Database STMF series]
(https://www.mortality.org/Data/STMF)
mortality <- read_stmf_files("AUSstmfout.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.