View source: R/get_country_codes.R
get_country_codes | R Documentation |
This function shows the available countries that can be used in the multipopulation mortality model. Further, their user codes are given as well as the available year range for each country. Information is substracted from the data sources HMD and Eurostat.
get_country_codes(data_magec = NULL, data_mager = NULL, data_pjan = NULL)
data_magec |
The dataset of the period death counts on Eurostat. If |
data_mager |
The dataset of the cohort death counts on Eurostat. If |
data_pjan |
The dataset of the population numbers at 1 January of each year on Eurostat. If |
This function can be used to find your desired country set and year range to construct the multipopulation mortality model.
A special case: Germany. Here before 1990 (German unification), only data from West-Germany is considered.
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.
df_country <- get_country_codes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.