% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extracao.R
\name{get_irpf}
\alias{get_irpf}
\title{Download and Clean IRPF Data}
\usage{
get_irpf(section)
}
\arguments{
\item{section}{A string representing the section name (e.g., "bens_e_direitos").}
}
\value{
A tidy tibble with columns: \code{ano_calendario}, \code{atributo}, and \code{valor}.
}
\description{
This function connects to the Brazilian Federal Revenue (RFB) open data server,
downloads the CSV for the requested section, and performs data cleaning
(standardizing names, pivoting to tidy format, and adjusting currency scales).
}
\examples{
\donttest{
 df <- get_irpf("bens_e_direitos")
 head(df)
}
}
