Retrieves the set of available aggregates (tables), grouped by survey. Each aggregate corresponds to a SIDRA table. Results are cached in memory per unique combination of parameters, so repeated calls with the same filters are instant.
Usage
ibge_aggregates(
period = NULL,
subject = NULL,
classification = NULL,
periodicity = NULL,
level = NULL
)Arguments
- period
Period of interest, e.g.
"P5[202001]"(monthly),"P10[20201]"(quarterly).- subject
Numeric subject code (e.g.
70for animal slaughter). Useibge_subjects()to look up codes.- classification
Numeric classification code.
- periodicity
Periodicity code:
"P5"(monthly),"P10"(quarterly),"P13"(annual), etc.- level
Geographic level:
"N1"(Brazil),"N2"(region),"N3"(state),"N6"(municipality), etc.
Value
A tibble with columns:
survey_id, survey_name, aggregate_id, aggregate_name