Ranking id; For each country- year, we rank the available ids for counts of vital events.
dd_rank_id_vitals(indata)
The data to be harmonised
A dataset with only one id per country and year.
See Part 3 of the Harmonization Workflow article for details about this function.
if (FALSE) {
df <- vitals_std_valid_sample2
df <- dd_rank_id_vitals(df)
}