Skip to contents

Expand several indicators results to SQLite

Usage

expand_indi_sqlite(agg, agg_time, anos, db, indi = "all", table_name = "indi")

Arguments

agg

character vector. 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 saúde of occurence. mun_res for municipality of residence. mun_ocor for municipality of ocurrence.

agg_time

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

anos

numeric vector. Years

db

character. SQLite file address and name.

indi

character function names vector. Defaults to all for all indi_ functions.

table_name

character. Indicators table name.