Learn R Programming

pixr (version 0.1.0)

get_pix_transactions_by_state: Get PIX Transactions by State

Description

A convenience wrapper around get_pix_transactions_by_municipality() that aggregates data at the state level.

Usage

get_pix_transactions_by_state(database, verbose = TRUE)

Value

A tibble::tibble with PIX transaction data aggregated by state.

Arguments

database

Character string in "YYYYMM" format specifying which month's data to retrieve. This parameter is required.

verbose

Logical; if TRUE (default), prints progress messages.

Examples

Run this code
# It usually takes much longer than 5 seconds.
# Get state-level aggregates for December 2025
states <- get_pix_transactions_by_state(database = "202512")

Run the code above in your browser using DataLab