View source: R/get_data_eurostat.R
get_data_eurostat | R Documentation |
This function downloads mortality data from Eurostat. Little preprocessing is done: only ages up to 99 are considered and data is put in an other format.
get_data_eurostat(code)
code |
The code name of the dataset to download. |
The avaible code names are demo_magec
(period deaths), demo_mager
(cohort deaths) and demo_pjan
(population sizes).
A dataframe containing the available country names, the corresponding HMD, Eurostat and user country labels as well as the avaible year range for each country.
data <- get_data_eurostat("demo_magec")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.