Access the 'Open Data API' of Pernambuco Court of Accounts
Overview
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.
CRAN feedback
- Quoted software and API names ('Open Data API', 'httr2', 'cli', 'snake_case') in the
DESCRIPTIONTitle and Description, and added a web reference to the API in the Description. - Unwrapped the offline-runnable examples (
tce_catalog(),tce_endpoint(),tce_params(),tce_fields(),tce_cache_clear(),tce_cache_info()) so they run during automatic checks. - Added a comment to the remaining
\dontrun{}examples explaining that they reach the live, Brazil-geofenced API and cannot run on CRAN.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK6 OK2026-06-02
Documentation
- Help pages
- 81 (3 internal)includes a package overview page
- Examples that run
- 55%6 run in a plain check · 5 never run
- Exported functions with examples
- 14%
- Documented parameters
- 77%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/strategicprojects/tceper on 2026-10-21.
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-23Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdCommits: at least 7 crediting it in the message
- Claude Opus 4.84 commits · May to Jun 2026
- Claude Opus 5.53 commits · Sep 2026
Dependencies
Code & Tests
People & History
- 0.1.4Latest2026-06-01 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-01
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 75 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tceper")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.