Learn R Programming

healthbR (version 0.2.0)

censo_sidra_tables: List Census SIDRA tables

Description

Returns a catalog of available SIDRA tables for the Census, organized by theme.

Usage

censo_sidra_tables(theme = NULL, year = NULL)

Value

A tibble with columns: table_code, table_name, theme, years, territorial_levels.

Arguments

theme

Character. Filter by theme. NULL returns all themes. Available themes: "population", "race", "estimates", "literacy", "housing", "sanitation", "disability", "indigenous", "quilombola", "fertility", "education", "labor", "income", "age_sex", "urbanization".

year

Character or numeric. Filter tables that contain data for this year. NULL returns tables for all years.

Examples

Run this code
# list all Census tables
censo_sidra_tables()

# filter by theme
censo_sidra_tables(theme = "population")

# tables with 2022 data
censo_sidra_tables(year = 2022)

Run the code above in your browser using DataLab