Skip to contents

Launches a Shiny app for browsing and filtering the full catalog of IBGE aggregates. The app displays value boxes with summary counts, a searchable table with column-level filters, and lets you filter by survey or search aggregate names.

Usage

ibge_explorer(launch.browser = TRUE)

Arguments

launch.browser

Logical or function. If TRUE (the default), opens the app in the default browser. If FALSE, opens in the RStudio Viewer pane when running inside RStudio. You can also pass a function such as shiny::paneViewer().

Value

This function is called for its side effect (launching the app). Returns the value of shiny::runApp() invisibly.

Details

Clicking a row shows a notification with the aggregate ID and the corresponding ibge_metadata() call. A CSV download button is also available.

Examples

if (FALSE) { # interactive()
# Open in RStudio Viewer
ibge_explorer(launch.browser = FALSE)

# Open in browser
ibge_explorer()
}