get_data_eurostat: Bulk download from Eurostat of mortality data

View source: R/get_data_eurostat.R

get_data_eurostatR Documentation

Bulk download from Eurostat of mortality data

Description

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.

Usage

get_data_eurostat(code)

Arguments

code

The code name of the dataset to download.

Details

The avaible code names are demo_magec (period deaths), demo_mager (cohort deaths) and demo_pjan (population sizes).

Value

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.

Examples

data <- get_data_eurostat("demo_magec")


RobbenJ/MultiMoMo documentation built on June 28, 2022, 9:29 p.m.