Skip to content

cran/educabR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

educabR

CRAN status CRAN downloads R-CMD-check codecov Lifecycle: stable

Leia em Português

educabR provides easy access to Brazilian public education data from INEP, FNDE, CAPES, and STN. With simple functions, you can download and process data from 14 datasets covering basic education, higher education, graduate programs, and education funding.

Installation

Install from CRAN:

install.packages("educabR")

Or install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("SidneyBissoli/educabR")

Features

Basic Education

Dataset Function Available Years
IDEB - Basic Education Development Index get_ideb(), get_ideb_series() 2017, 2019, 2021, 2023
ENEM - National High School Exam get_enem(), get_enem_itens() 1998-2024
School Census get_censo_escolar() 1995-2024
SAEB - Basic Education Assessment System get_saeb() 2011-2023 (biennial)
ENCCEJA - Youth and Adult Certification Exam get_encceja() 2014-2024
ENEM by School (discontinued) get_enem_escola() 2005-2015

Higher Education

Dataset Function Available Years
Higher Education Census get_censo_superior() 2009-2024
ENADE - National Student Performance Exam get_enade() 2004-2024
IDD - Value-Added Indicator get_idd() 2014-2023
CPC - Preliminary Course Concept get_cpc() 2007-2023
IGC - General Courses Index get_igc() 2007-2023

Graduate Education

Dataset Function Available Years
CAPES - Graduate programs, students, faculty get_capes() 2013-2024

Education Funding

Dataset Function Available Years
FUNDEB - Resource distribution get_fundeb_distribution() 2007-2026
FUNDEB - Enrollment counts get_fundeb_enrollment() 2007-2026

Examples

IDEB

library(educabR)

# Download IDEB 2021 - Early elementary - Schools
ideb <- get_ideb(
  year  = 2021,
  stage = "anos_iniciais",
  level = "escola"
)

# Historical series
ideb_series <- get_ideb_series(
  years = c(2017, 2019, 2021, 2023),
  level = "municipio",
  stage = "anos_iniciais"
)

ENEM

# Download a sample for exploration
enem <- get_enem(year = 2023, n_max = 10000)

# Statistical summary
enem_summary(enem)

# Summary by sex
enem_summary(enem, by = "tp_sexo")

School Census

# Download School Census 2023 - filter by state
censo_sp <- get_censo_escolar(year = 2023, uf = "SP")

Higher Education

# Higher Education Census - institutions
ies <- get_censo_superior(2023, type = "ies")

# ENADE microdata
enade <- get_enade(2023, n_max = 10000)

# CAPES graduate programs
programas <- get_capes(2023, type = "programas")

FUNDEB

# Resource distribution by state
dist <- get_fundeb_distribution(2023, uf = "SP")

# Enrollment counts
mat <- get_fundeb_enrollment(2023, uf = "SP")

Cache

The package uses local caching to avoid repeated downloads:

# Set a permanent cache directory
set_cache_dir("~/educabR_data")

# List cached files
list_cache()

# Clear cache
clear_cache()

Documentation

License

MIT

About

❗ This is a read-only mirror of the CRAN R package repository. educabR — Download and Process Brazilian Education Data from INEP. Homepage: https://github.com/SidneyBissoli/educabRhttps://sidneybissoli.github.io/educabR/ Report bugs for this package: https://github.com/SidneyBissoli/educabR/issues

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages