| Title: | Access the 'Open Data API' of Pernambuco Court of Accounts |
|---|---|
| Description: | An R interface to the 'Open Data API' of the Tribunal de Contas do Estado de Pernambuco (TCE-PE), the Court of Accounts of the State of Pernambuco, Brazil. Provides tidy, ready-to-use functions to query public data on revenues, expenditures, commitments, procurement, contracts, agreements, public works, legal processes, personnel and reference tables for all state and municipal government entities in Pernambuco. All results are returned as tibbles with column names converted to 'snake_case' by default. Uses 'httr2' for HTTP requests and 'cli' for user-friendly messages. See <https://sistemas.tcepe.tc.br/DadosAbertos/> for the API documentation. |
| Authors: | Andre Leite [aut, cre], Marcos Wasilew [aut], Hugo Vasconcelos [aut], Carlos Amorin [aut], Diogo Bezerra [aut] |
| Maintainer: | Andre Leite <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.4 |
| Built: | 2026-06-02 10:36:58 UTC |
| Source: | https://github.com/strategicprojects/tceper |
Retrieve state and municipal agreements (convênios).
tce_agreements( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_agreements( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Lookup table of benefit types (RemessaTCEPE system).
tce_benefit_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_benefit_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Retrieve bids with their respective bidders (licitantes).
tce_bid_details( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_details( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Retrieve documents associated with bids.
tce_bid_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Lookup table of legal basis types for bids.
tce_bid_legal_basis( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_legal_basis( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Lookup table of bid modality types.
tce_bid_modalities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_modalities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Lookup table of bid process stages.
tce_bid_stages( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_stages( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Lookup table of bid status types.
tce_bid_statuses( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bid_statuses( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Retrieve public procurement bids (licitações).
tce_bids( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_bids( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Possible statuses for cost-estimate items/lots.
tce_budget_statuses( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_budget_statuses( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Retrieve budgeted (forecast) revenue data. Municipal entities only.
tce_budgeted_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_budgeted_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other revenues:
tce_municipal_revenues(),
tce_state_revenues()
Removes cached API responses so that subsequent calls hit the API again.
By default clears everything; use pattern to selectively clear entries
for specific endpoints.
tce_cache_clear(pattern = NULL)tce_cache_clear(pattern = NULL)
pattern |
Optional regex pattern to clear only matching keys.
If |
Invisibly returns the number of entries cleared.
tce_cache_clear() # clear everything tce_cache_clear("Contratos") # clear contract queries onlytce_cache_clear() # clear everything tce_cache_clear("Contratos") # clear contract queries only
Returns a tibble describing all currently cached entries, including the cache key (endpoint + parameters), row count, timestamp and age. Useful for understanding what is cached and when it will expire.
tce_cache_info()tce_cache_info()
A tibble with columns key, rows,
cached_at and age_secs, or an empty tibble if the cache is empty.
The cache TTL is controlled by getOption("tceper.cache_ttl", 3600).
tce_cache_info()tce_cache_info()
Returns a tibble listing all 71 endpoints available in the TCE-PE Open
Data API, with their group, description and URL. Use search to filter
by keyword.
tce_catalog(search = NULL)tce_catalog(search = NULL)
search |
Optional character string to filter endpoints by name or
description (case-insensitive). For example, |
A tibble with columns endpoint, group, title, and url.
tce_params(), tce_fields(), tce_endpoint()
tce_catalog() tce_catalog(search = "contrat") tce_catalog(search = "municipio")tce_catalog() tce_catalog(search = "contrat") tce_catalog(search = "municipio")
Retrieve liquidation records for budget commitments.
tce_commitment_liquidations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_commitment_liquidations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other commitments:
tce_commitment_payments(),
tce_commitment_summary(),
tce_state_commitment_items(),
tce_state_price_comparison()
Retrieve payment records for budget commitments (municipal only).
tce_commitment_payments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_commitment_payments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other commitments:
tce_commitment_liquidations(),
tce_commitment_summary(),
tce_state_commitment_items(),
tce_state_price_comparison()
Retrieve original values, reinforcements and cancellations for budget commitments (empenhos), for both municipal and state entities.
tce_commitment_summary( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_commitment_summary( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other commitments:
tce_commitment_liquidations(),
tce_commitment_payments(),
tce_state_commitment_items(),
tce_state_price_comparison()
Retrieve considerandos (findings/grounds) from adjudicated processes.
tce_consideranda( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_consideranda( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Retrieve addenda / amendments (termos aditivos) to contracts.
tce_contract_amendments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_contract_amendments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Retrieve documents associated with contracts.
tce_contract_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_contract_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Retrieve the individual items that compose a contract.
tce_contract_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_contract_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
Retrieve state and municipal contracts.
tce_contracts( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_contracts( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
tce_params() to discover available parameters,
tce_fields() to see output columns.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_object_characteristics(),
tce_object_classifications(),
tce_object_nature()
## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_contracts(codigo_efisco_ug = "510101", verbose = TRUE) ## End(Not run)## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_contracts(codigo_efisco_ug = "510101", verbose = TRUE) ## End(Not run)
Lookup table of supplier/creditor types.
tce_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Retrieve debts and fines imposed.
tce_debts_fines( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_debts_fines( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Retrieve determinations from adjudicated electronic processes.
tce_determinations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_determinations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Returns the full metadata for a single endpoint, including its input
parameters (entrada) and output fields (saida). Useful for
programmatic access to endpoint metadata.
tce_endpoint(endpoint)tce_endpoint(endpoint)
endpoint |
Endpoint name (e.g., |
A list with endpoint metadata, including entrada (input
parameters) and saida (output fields) when available.
tce_catalog(), tce_params(), tce_fields()
tce_endpoint("Contratos")tce_endpoint("Contratos")
Retrieve all managed entities (unidades jurisdicionadas), state and municipal.
tce_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Returns a tibble describing the columns returned by a given endpoint.
When clean_names = TRUE (the default), column names are converted
from the API's original names to snake_case.
tce_fields(endpoint)tce_fields(endpoint)
endpoint |
Endpoint name (e.g., |
A tibble with columns name, type, and description. Has a
custom print method that summarises the field names at the top.
tce_params(), tce_catalog(), tce_endpoint()
tce_fields("Contratos") tce_fields("Municipios")tce_fields("Contratos") tce_fields("Municipios")
Lookup table of funding source types.
tce_funding_sources( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_funding_sources( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Lookup table of inactivation reason types.
tce_inactivation_reasons( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_inactivation_reasons( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Legal instrument documents (Remessa)
tce_legal_instrument_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_legal_instrument_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Legal instrument items (Remessa)
tce_legal_instrument_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_legal_instrument_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Legal instrument participants (Remessa)
tce_legal_instrument_participants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_legal_instrument_participants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Retrieve legal instruments from RemessaTCEPE.
tce_legal_instruments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_legal_instruments( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Lookup table of municipal creditor types.
tce_municipal_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipal_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other expenditures:
tce_municipal_expenditures(),
tce_municipal_transfers(),
tce_state_creditor_types(),
tce_state_expenditures()
Retrieve municipal-level managed entities.
tce_municipal_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipal_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Retrieve municipal-level expenditure data.
tce_municipal_expenditures( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipal_expenditures( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other expenditures:
tce_municipal_creditor_types(),
tce_municipal_transfers(),
tce_state_creditor_types(),
tce_state_expenditures()
Retrieve municipal-level revenue data.
tce_municipal_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipal_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other revenues:
tce_budgeted_revenues(),
tce_state_revenues()
## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_municipal_revenues(id_unidade_gestora = "384") ## End(Not run)## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_municipal_revenues(id_unidade_gestora = "384") ## End(Not run)
Retrieve inter-unit transfers granted within the same municipality.
tce_municipal_transfers( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipal_transfers( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other expenditures:
tce_municipal_creditor_types(),
tce_municipal_expenditures(),
tce_state_creditor_types(),
tce_state_expenditures()
Retrieve the list of municipalities in Pernambuco.
tce_municipalities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_municipalities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_payroll_types(),
tce_state_entities(),
tce_sub_units()
Lookup table of procurement object characteristic types.
tce_object_characteristics( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_object_characteristics( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_classifications(),
tce_object_nature()
Lookup table of procurement object classification types.
tce_object_classifications( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_object_classifications( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_nature()
Lookup table of procurement object nature types.
tce_object_nature( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_object_nature( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other procurement:
tce_agreements(),
tce_bid_details(),
tce_bid_documents(),
tce_bid_legal_basis(),
tce_bid_modalities(),
tce_bid_stages(),
tce_bid_statuses(),
tce_bids(),
tce_contract_amendments(),
tce_contract_documents(),
tce_contract_items(),
tce_contracts(),
tce_object_characteristics(),
tce_object_classifications()
Retrieve outcomes of adjudicated electronic processes.
tce_outcomes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_outcomes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Returns a tibble describing the query parameters accepted by a given
endpoint. The api_name column shows the exact name expected by the
API; the r_name column shows the snake_case equivalent that you
can pass to wrapper functions.
tce_params(endpoint)tce_params(endpoint)
endpoint |
Endpoint name (e.g., |
A tibble with columns api_name, r_name, required, type,
and description. Has a custom print method that summarises the
parameter names at the top.
tce_fields(), tce_catalog(), tce_endpoint()
tce_params("Contratos") tce_params("Municipios") tce_params("LicitacaoUG")tce_params("Contratos") tce_params("Municipios") tce_params("LicitacaoUG")
Lookup table of payroll (folha) types.
tce_payroll_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_payroll_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_state_entities(),
tce_sub_units()
Lookup table of person creditor types.
tce_person_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_person_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other suppliers:
tce_sanctions(),
tce_suppliers()
Retrieve the list of formalized physical and electronic processes.
tce_processes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_processes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Procurement process budget (Remessa)
tce_procurement_process_budget( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_procurement_process_budget( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Procurement process documents (Remessa)
tce_procurement_process_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_procurement_process_documents( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Procurement process participants (Remessa)
tce_procurement_process_participants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_procurement_process_participants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Retrieve procurement processes from RemessaTCEPE.
tce_procurement_processes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_procurement_processes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Retrieve engineering works and services overseen by the Court of Accounts.
tce_public_works( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_public_works( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other public_works:
tce_public_works_audits(),
tce_public_works_contractors()
Retrieve audit data on public works.
tce_public_works_audits( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_public_works_audits( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other public_works:
tce_public_works(),
tce_public_works_contractors()
Retrieve data on companies contracted for public works.
tce_public_works_contractors( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_public_works_contractors( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other public_works:
tce_public_works(),
tce_public_works_audits()
Retrieve recommendations from adjudicated electronic processes.
tce_recommendations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_recommendations( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_retirement_outcomes(),
tce_special_accountability(),
tce_spending_limits()
Reference codes for cost-estimate item imports.
tce_reference_codes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_reference_codes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Available dates for reference sources in cost-estimate imports.
tce_reference_dates( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_reference_dates( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Lookup table of reference sources for cost-estimate imports.
tce_reference_sources( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_reference_sources( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Public works details (Remessa)
tce_remessa_works( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_remessa_works( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works_execution(),
tce_remessa_works_geometry(),
tce_update_indices()
Public works execution (Remessa)
tce_remessa_works_execution( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_remessa_works_execution( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_geometry(),
tce_update_indices()
Public works geometry (Remessa)
tce_remessa_works_geometry( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_remessa_works_geometry( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_update_indices()
Low-level function that sends a GET request to the TCE-PE Open Data API
and returns the response content as a tibble.
Higher-level wrapper functions such as tce_contracts(),
tce_state_expenditures(), etc. call this function internally.
You can use tce_request() directly to access any API endpoint,
including those that do not yet have a dedicated wrapper.
tce_request( endpoint, ..., clean_names = TRUE, max_tries = 3, progress = getOption("tceper.progress", TRUE), verbose = getOption("tceper.verbose", FALSE) )tce_request( endpoint, ..., clean_names = TRUE, max_tries = 3, progress = getOption("tceper.progress", TRUE), verbose = getOption("tceper.verbose", FALSE) )
endpoint |
A character string with the API method name (e.g.,
|
... |
Named query parameters. You can use either the API names
( |
clean_names |
If |
max_tries |
Maximum number of retry attempts for failed requests
(default: |
progress |
If |
verbose |
If |
https://sistemas.tcepe.tc.br/DadosAbertos/
The API host only accepts connections from Brazilian IP addresses.
Calls from outside Brazil are dropped at the network level and surface
as a connection or TLS error. The offline discovery functions
(tce_catalog(), tce_params(), tce_fields()) do not require
network access and work anywhere.
The TCE-PE API uses Struts2-style URLs where ! invokes a method
(e.g. Contratos!json). The URL is built with paste0() to preserve
the literal ! – using httr2::req_url_path_append() would encode it
as %21, causing the server to ignore all query parameters.
The API returns at most 100,000 records per request. When this limit is reached, a warning is issued suggesting the use of additional filters.
The TCE-PE backend runs on ISO-8859-1 (Latin-1), not UTF-8. The package handles this transparently in both directions:
Response body is decoded as Latin-1 and returned as UTF-8 R
strings, so accented Portuguese characters come through cleanly
(São, Município, Conceição, etc.).
Query parameters are transcoded UTF-8 -> Latin-1 before
percent-encoding, so filtering by accented values works as
expected (e.g. tce_municipalities(municipio = "São José da Coroa Grande")).
You can pass any R string with accents – the conversion is
automatic.
tceper.progress – set to FALSE to suppress all progress messages.
tceper.verbose – set to TRUE to always print request/response details.
tceper.cache_ttl – cache time-to-live in seconds (default: 3600).
A tibble with the response content. Returns a zero-row tibble if no records are found.
## Not run: # Not run: these examples reach the live TCE-PE API, which only accepts # connections from Brazilian IP addresses and is therefore unreachable # from CRAN check machines and most CI runners. # Direct query to any endpoint tce_request("Contratos", CodigoEfiscoUG = "510101") # Show full request/response details tce_request("Contratos", CodigoEfiscoUG = "510101", verbose = TRUE) # Keep original column names tce_request("Municipios", clean_names = FALSE) ## End(Not run)## Not run: # Not run: these examples reach the live TCE-PE API, which only accepts # connections from Brazilian IP addresses and is therefore unreachable # from CRAN check machines and most CI runners. # Direct query to any endpoint tce_request("Contratos", CodigoEfiscoUG = "510101") # Show full request/response details tce_request("Contratos", CodigoEfiscoUG = "510101", verbose = TRUE) # Keep original column names tce_request("Municipios", clean_names = FALSE) ## End(Not run)
Retrieve outcomes from processes related to retirement, pension and reform (Aposentadoria, Pensão e Reforma).
tce_retirement_outcomes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_retirement_outcomes( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_special_accountability(),
tce_spending_limits()
Retrieve sanctions applied to suppliers.
tce_sanctions( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_sanctions( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other suppliers:
tce_person_creditor_types(),
tce_suppliers()
Retrieve school transport services overseen by the Court of Accounts.
tce_school_transport( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_school_transport( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Retrieve municipal and state public servants (SAGRES Personnel).
tce_servants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_servants( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Retrieve outcomes from special accountability processes (Tomada de Conta Especial).
tce_special_accountability( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_special_accountability( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_spending_limits()
Retrieve spending-limit data from government account processes.
tce_spending_limits( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_spending_limits( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other processes:
tce_consideranda(),
tce_debts_fines(),
tce_determinations(),
tce_outcomes(),
tce_processes(),
tce_recommendations(),
tce_retirement_outcomes(),
tce_special_accountability()
Retrieve individual line items of state-level commitments.
tce_state_commitment_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_commitment_items( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other commitments:
tce_commitment_liquidations(),
tce_commitment_payments(),
tce_commitment_summary(),
tce_state_price_comparison()
Lookup table of state creditor types.
tce_state_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_creditor_types( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other expenditures:
tce_municipal_creditor_types(),
tce_municipal_expenditures(),
tce_municipal_transfers(),
tce_state_expenditures()
Retrieve state-level managed entities.
tce_state_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_entities( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_sub_units()
Retrieve state-level expenditure data.
tce_state_expenditures( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_expenditures( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
tce_params() to discover available parameters,
tce_fields() to see output columns.
Other expenditures:
tce_municipal_creditor_types(),
tce_municipal_expenditures(),
tce_municipal_transfers(),
tce_state_creditor_types()
## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_state_expenditures(id_unidade_gestora = "510101") ## End(Not run)## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_state_expenditures(id_unidade_gestora = "510101") ## End(Not run)
Retrieve state commitment items with values for price comparison.
tce_state_price_comparison( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_price_comparison( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other commitments:
tce_commitment_liquidations(),
tce_commitment_payments(),
tce_commitment_summary(),
tce_state_commitment_items()
Retrieve state-level revenue data from the TCE-PE API.
tce_state_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_state_revenues( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
tce_params() to discover available parameters,
tce_fields() to see output columns.
Other revenues:
tce_budgeted_revenues(),
tce_municipal_revenues()
## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_state_revenues(id_unidade_gestora = "510101") ## End(Not run)## Not run: # Not run: reaches the live TCE-PE API, which only accepts connections # from Brazilian IP addresses (unreachable from CRAN / most CI). tce_state_revenues(id_unidade_gestora = "510101") ## End(Not run)
Retrieve sub-units belonging to managed entities.
tce_sub_units( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_sub_units( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters. Common: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other reference:
tce_creditor_types(),
tce_entities(),
tce_funding_sources(),
tce_inactivation_reasons(),
tce_municipal_entities(),
tce_municipalities(),
tce_payroll_types(),
tce_state_entities()
Retrieve registered suppliers. Partial matching is supported.
tce_suppliers( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_suppliers( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API.
Common filters: |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other suppliers:
tce_person_creditor_types(),
tce_sanctions()
Indices for updating prices in cost-estimate spreadsheets.
tce_update_indices( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )tce_update_indices( ..., verbose = getOption("tceper.verbose", FALSE), cache = TRUE, clean_names = TRUE )
... |
Named query parameters passed directly to the API. |
verbose |
If |
cache |
If |
clean_names |
If |
A tibble.
Other remessa:
tce_benefit_types(),
tce_budget_statuses(),
tce_legal_instrument_documents(),
tce_legal_instrument_items(),
tce_legal_instrument_participants(),
tce_legal_instruments(),
tce_procurement_process_budget(),
tce_procurement_process_documents(),
tce_procurement_process_participants(),
tce_procurement_processes(),
tce_reference_codes(),
tce_reference_dates(),
tce_reference_sources(),
tce_remessa_works(),
tce_remessa_works_execution(),
tce_remessa_works_geometry()