Skip to content

This function combines data from multiple Parquet files and applies optional filters, including text-based searches.

Usage

read_capes_data(files, filters = list())

ler_dados_capes(files, filters = list())

Arguments

files

A vector or list of paths to Parquet files.

filters

A list of filters to apply (e.g., list(base_year = 1987, state = "SP", title = "education")).

Value

A `data.frame` containing the combined and filtered data.

Examples

# \donttest{
# Download data for the years 1987 and 1990
capes_files <- download_capes_data(c(1987, 1990))
#> File already exists: C:\Users\HUGO~1.VAS\AppData\Local\Temp\RtmpeqmqwL/capes_1987.parquet
#> File already exists: C:\Users\HUGO~1.VAS\AppData\Local\Temp\RtmpeqmqwL/capes_1990.parquet
# Combine all selected data
combined_data <- read_capes_data(capes_files)
# }