Retrieves compensation data for education professionals. This endpoint
has an additional required parameter: mes / month for the specific
month within the year.
get_siope_remuneracao(
ano,
periodo,
mes,
uf,
use_cache = TRUE,
verbose = FALSE,
page_size = 1000L,
max_rows = Inf,
filter = NULL,
orderby = NULL,
select = NULL
)get_siope_compensation(year, period, month, state,
use_cache = TRUE, verbose = FALSE,
page_size = 1000, max_rows = Inf,
filter = NULL, orderby = NULL, select = NULL)
A tibble with 19 columns including compensation categories and values for education professionals.
Integer. Year of the data (e.g., 2023). Required.
Integer. Bimester period (1-6). Required.
Integer. Month of the fiscal year (1-12). Required.
Character. State abbreviation (e.g., "PE"). Required.
Logical. If TRUE (default), uses an in-memory cache.
Logical. If TRUE, prints the full API URL.
Integer. Rows per page for OData pagination. Defaults
to 1000.
Numeric. Maximum rows to return. Defaults to Inf.
Character. OData $filter expression to narrow results
on the server (much faster than downloading everything). Uses
OData syntax (e.g., "NOM_MUNI eq 'Recife'",
"COD_MUNI eq 2611606"). Combine with and/or. Column names
must use the original API names (uppercase), not the snake_case
cleaned names. To discover valid names, run a max_rows = 1 query
and use toupper(names(result)). Optional.
Character. OData $orderby expression to sort results
(e.g., "NOM_MUNI asc", "NUM_POPU desc"). Uses original API
column names (uppercase). Optional.
Character vector. Column names to return (reduces payload
size). Uses original API column names (e.g.,
c("NOM_MUNI", "VAL_DECL")). If a column name is invalid the API
returns HTTP 400. Optional.
Integer. Year. Required. Maps to ano.
Integer. Bimester (1-6). Required. Maps to periodo.
Integer. Month (1-12). Required. Maps to mes.
Character. State abbreviation. Required. Maps to uf.
get_siope_compensation() is an English alias.
Other SIOPE:
get_siope_dados_gerais(),
get_siope_despesas(),
get_siope_despesas_funcao(),
get_siope_indicadores(),
get_siope_info_complementares(),
get_siope_receitas(),
get_siope_responsaveis()
if (FALSE) {
rem <- get_siope_remuneracao(ano = 2023, periodo = 6, mes = 12, uf = "PE")
}
Run the code above in your browser using DataLab