Access the Open Data API of the Legislative Assembly of Pernambuco
Overview
A tidy interface to the open data API of the Legislative Assembly of the State of Pernambuco, Brazil ('ALEPE', https://dadosabertos.alepe.pe.gov.br). Retrieve data on representatives, staff, positions, departments, remuneration, contracts, procurement processes, and legislative propositions as tibbles with clean names and parsed column types. Requests are cached locally and retried with exponential backoff; network failures are handled gracefully.
alepe_staff()gainsstatus = "lent"(API term"efetivo-cedido"): the Assembly's own permanent staff lent to other bodies. The API publishes them withvinculo"Efetivo", so this server-side filter is the only way to single them out.alepe_positions()does not accept it, because/cargosignores the value and returns every status.- An invalid
statusinalepe_staff()/alepe_positions()(and their aliases) is now an error, as documented. It used to be evaluated inside the fetch layer's error handler and surfaced as a warning that the API could not be reached, followed by an empty tibble. - Author metadata: the maintainer's name is spelled André Leite; Marcos Wasiliew's e-mail address is updated; ORCIDs added for Marcos Wasiliew and Júlia Nascimento Barreto.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK6 OK2026-08-21
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 100%10 run in a plain check (9 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Releases over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/strategicprojects/alepe on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow
pkgdown site last built 2026-09-30
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-08-12Named in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude, CLAUDE.mdCommits: at least 33 crediting it in the message
- Claude CodePull requests: 3 from outside contributors, first on 2026-09-29
- Claude Fable 523 commits · Aug 2026
- Claude Opus 5.510 commits · Sep 2026
Dependencies
Code & Tests
People & History
Maintainer since 0.1.0 (2026)
Pick two releases to compare their code metrics.
- 0.1.1Latest
- 0.1.02026-08-20
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-20
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 46 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("alepe")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.