Learn R Programming

educabR

O educabR facilita o acesso a dados educacionais brasileiros do INEP, incluindo IDEB, ENEM e Censo Escolar.

Instalacao

Voce pode instalar a versao de desenvolvimento do educabR pelo GitHub:

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

Funcionalidades

DatasetFuncaoAnos disponiveis
IDEBget_ideb()2017, 2019, 2021, 2023
ENEMget_enem()1998-2024
Censo Escolarget_censo_escolar()1995-2024

Exemplos

IDEB

library(educabR)

# Baixar IDEB 2021 - Anos Iniciais - Escolas
ideb <- get_ideb(
  year = 2021,
  stage = "anos_iniciais",
  level = "escola"
)

ENEM

# Baixar microdados do ENEM 2023
enem <- get_enem(year = 2023)

# Resumo estatistico
enem_summary(enem)

Censo Escolar

# Baixar Censo Escolar 2023
censo <- get_censo_escolar(year = 2023)

Cache

O pacote usa cache local para evitar downloads repetidos:

# Ver arquivos em cache
list_cache()

# Limpar cache
clear_cache()

# Definir diretorio de cache personalizado
set_cache_dir("~/meu_cache")

Documentacao

Licenca

MIT

Copy Link

Version

Install

install.packages('educabR')

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sidney Bissoli

Last Published

February 3rd, 2026

Functions in educabR (0.1.0)

read_ideb_excel

Read IDEB Excel file
read_inep_file

Read INEP data file
standardize_names

Standardize column names
set_cache_dir

Set the cache directory for educabR
uf_to_code

Convert UF abbreviation to code
validate_year

Validate year parameter
list_cache

List cached files
detect_encoding

Detect file encoding
available_years

Check available years for a dataset
find_censo_file

Find the Censo Escolar data file
clear_cache

Clear the educabR cache
educabR-package

educabR: Download and Process Brazilian Education Data from INEP
build_inep_url

Build INEP microdata URL
find_data_files

Find data files in extracted directory
download_inep_file

Download a file from INEP
enem_summary

Summary statistics for ENEM scores
get_cache_dir

Get the current cache directory
list_censo_files

List available Censo Escolar files
list_ideb_available

List available IDEB data
get_censo_escolar

Get School Census (Censo Escolar) data
get_ideb_series

Get IDEB historical series
get_enem_itens

Get ENEM item response data
get_ideb

Get IDEB (Índice de Desenvolvimento da Educação Básica) data
extract_zip

Extract a ZIP file
find_enem_file

Find the ENEM data file
get_enem

Get ENEM (Exame Nacional do Ensino Médio) data