Skip to contents

Joins MCCD data with SRS life table data by state. SRS uses multi-year periods (e.g. "2018-2022"), so the join maps MCCD years to the corresponding SRS period.

Usage

mccd_link_srs(mccd_data, srs_data, suffix = c(".mccd", ".srs"))

Arguments

mccd_data

Data frame from get_mccd() with State and year.

srs_data

Data frame from srsindia::get_srs_life_table() with state and period columns.

suffix

Suffixes for disambiguating columns. Default c(".mccd", ".srs").

Value

A tibble with joined columns.