Retrieves complete metadata for an aggregate: name, survey, subject, periodicity, territorial levels, variables, and classifications with all their categories.
Value
A list of class ibge_metadata with:
id,name,url,survey,subjectperiodicity: list with frequency, start and endterritorial_level: list with administrative, special and ibgevariables: tibble with id, name, unitclassifications: tibble with id, name and list-columncategories, where each element is a tibble with category_id, category_name, category_unit and category_level
Examples
if (FALSE) { # \dontrun{
meta <- ibge_metadata(7060)
meta$variables
meta$classifications
tidyr::unnest(meta$classifications, categories)
} # }