The Federal Government Payment Card (CPGF) is a payment instrument used by the government that operates similarly to a regular credit card, but within specific limits and regulations. The government uses the CPGF to cover its own expenses, provided they qualify as advances of funds (suprimento de fundos).
cpgf_data()cpgf_data() returns a data.frame with the following variables:
Code corresponding to the Higher Body of the managing authority on behalf of which the government payment card was formally issued.
Name of the Higher Body of the managing unit on behalf of which the payment card was issued.
Code of the Subordinate Body of the managing unit on behalf of which the payment card was issued.
Name of the Subordinate Body of the managing unit on behalf of which the payment card was issued.
Code of the Managing Unit on behalf of which the payment card was issued.
Name of the Managing Unit.
Year of the transaction statement.
Month of the transaction statement.
CPF of the cardholder who performed the transaction.
Name of the cardholder who performed the transaction.
CNPJ of the establishment or CPF of the individual who received the payment.
Name of the establishment or individual who received the payment.
Transaction carried out by the cardholder with the affiliated merchant or contracted party, using the Federal Government Payment Card (CPGF).
Date on which the transaction was carried out. Note: when the beneficiary is classified as confidential, there is no transaction date; in these cases, the lowest date on the reference statement was assigned.
Amount of the transaction carried out with the card, in Brazilian reais (BRL) as character.
Date on which the transaction was carried out. Note: when the beneficiary is classified as confidential, there is no transaction date; in these cases, the lowest date on the reference statement was assigned.
Year and month on which the transaction was carried out.
Amount of the transaction carried out with the card, in Brazilian reais (BRL) as numeric.
Total deflated transaction value to facilitate comparison, in Brasilian reais. Deflated until April 2025 (because transactions are up to the previous month of the statement, which here goes until May), using the IPCA index.
# \donttest{
# Download data on the Federal Government Payment Card (CPGF)
if(interactive() && curl::has_internet()) {
cpgf <- cpgf_data()
}
# }
Run the code above in your browser using DataLab