Skip to contents

Data access

Public API for the harmonised series. Each function returns a tibble in the canonical tidy-long schema documented in inst/dict/schema.yaml.

get_enrollment()
Brazilian school-enrollment series
get_schooling()
Brazilian mean years of schooling
get_expenditure()
Brazilian public expenditure on education
get_progression()
Brazilian grade-progression series
get_attainment()
Comparative international educational-attainment series

Citations and provenance

Discover the underlying sources and cite them — not only the package itself.

list_sources()
List the data sources bundled with educabr2
educabr_cite()
Generate citations for educabr2 data sources

Visualization

Consistent, colorblind-safe plotting components in the style of Healy’s Data Visualization: a ggplot2 theme, Okabe-Ito colour scales, and a year axis designed for century-long historical series.

theme_educabr()
educabr2 Visualization Theme
scale_colour_educabr() scale_fill_educabr()
educabr2 Color Scales (Okabe-Ito)
scale_x_year_educabr()
Year Axis Scale for Historical Series

Dashboard

Launch the bundled Shiny dashboard. A read-only deployment is also hosted on shinyapps.io.

run_dashboard()
Launch the educabr2 Shiny dashboard

Backing datasets

Internal backing stores for the public get_*() functions. End users should call the functions instead of loading these objects directly — the public API normalises schema differences across datasets, applies filters and translates labels.

enrollment_kang_fgv
Enrollment series — Kang / FGV-IBRE 2023 compilation
enrollment_tertiary
Tertiary (ensino superior) enrollment — multi-source compilation
schooling_kang_fgv
Mean years of schooling — Walter & Kang 2024 compilation
expenditure_kang_fgv
Public expenditure on education — Kang & Menetrier 2024 compilation
progression_kang_fgv
Grade-progression series (GDR6) — Kang, Paese & Felix 2021 compilation
lee_lee_2016
Comparative international educational attainment — Lee & Lee 2016

Package

educabr2 educabr2-package
educabr2: Harmonized Historical Series on Brazilian Education