Skip to contents

Complete indicator result with zeros considering combinations of spatial and temporal aggregation without results.

Usage

complete_with_zeros(res, agg, agg_time, ano, save_args)

Arguments

res

tibble. Indicator results table.

agg

character. Spatial aggregation level. uf_res for UF of residence. uf_ocor for UF of occurrence. regsaude_res for regiao de saude of residence. regsaude_ocor for regiao de saude of occurence. regsaude_449_res for regiao de saude (449 units) of residence. regsaude_449_ocor for regiao de saude (449 units) of occurence. mun_res for municipality of residence. mun_ocor for municipality of ocurrence.

agg_time

character. Time aggregation level. year for yearly data. month for monthly data. week for weekly data. Defaults to year.

ano

numeric. Year of death.

save_args

logical. Save agg and agg_time arguments on results table.