get_cpgf {cpgfR} | R Documentation |
Download the database the Federal Government Payment Card CPGF - Brazil
Description
Download the database the Federal Government Payment Card CPGF - Brazil
Usage
get_cpgf(year, month, deflate = NULL, index_deflate = "ipca")
Arguments
year |
Valid options are 2013 to corrent. |
month |
Valid options are 01 to 12. |
deflate |
By default, it is NULL, but when a value is provided in the format month/year (mm/yyyy), the corrected value is calculated using the selected inflation index and create variable "valor_transacao_deflacionado", which is IPCA by default. For more information, see the deflateBR package. |
index_deflate |
If deflate is not NULL, IPCA is used by default. For more information, see the deflateBR package. |
Value
(get_cpgf)
returns a data.frame
Examples
# Download data on the Federal Government Payment Card (CPGF)
if(interactive() && curl::has_internet()) {
cartao <- get_cpgf(2023, 12)
}
[Package cpgfR version 0.0.1.0 Index]