Ranking id; For each country- year, we rank the available ids for counts of vital events.

dd_rank_id_vitals(indata)

Arguments

indata

The data to be harmonised

Value

A dataset with only one id per country and year.

Details

See Part 3 of the Harmonization Workflow article for details about this function.

Examples

if (FALSE) {
df <- vitals_std_valid_sample2
df <- dd_rank_id_vitals(df)
}