Skip to content

alepe

0.1.1Package record

Access the Open Data API of the Legislative Assembly of Pernambuco

0packages depend
817downloads / year
68.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.1
  • alepe_staff() gains status = "lent" (API term "efetivo-cedido"): the Assembly's own permanent staff lent to other bodies. The API publishes them with vinculo "Efetivo", so this server-side filter is the only way to single them out. alepe_positions() does not accept it, because /cargos ignores the value and returns every status.
  • An invalid status in alepe_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

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK6 OK2026-08-21
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 384 wordsVignettesYes · 3 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.1.1Citation fileNoWebsiteYes · pkgdown
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

817
CRAN downloads in the past year
Rank #14,830 · ~2/day · ~68/mo
Daily download trend is not available in this view yet.
34830 days
81790 days
8171 year
Compare downloads with other packages →
Also on19 r2u17 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
1Releases
46Commits
1Commit identities
brazilhttr2legislative-dataopen-datapernambucorr-packagealepe
46 commits · Last activity 2026-09-30
Responsiveness
How these are sampled
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

2026-08-21 · 02026-09-30 · 1
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-30 · The repository has a site deploy workflow

pkgdown site last built 2026-09-30

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-08-12
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 33 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 3 from outside contributors, first on 2026-09-29
Models named in its commits
  • Claude Fable 523 commits · Aug 2026
  • Claude Opus 5.510 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing alepe adds 29 packages (17 with compiled code, 8.8 MB of source tarballs). Heaviest: openssl 1.1 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Author, Maintainer · added in 0.1.1

Maintainer since 0.1.0 (2026)

Listed in earlier versions (1)
no longer listed · 0.1.0
Releases (2)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-09-30 · current release · diff ↗
  • 0.1.0
    record
    2026-08-20
  • R
    R 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")
Leite, A., Amorim, C., Bezerra, D., Nascimento Barreto, J., Vasconcelos, H., & Wasiliew, M. (2026). alepe: Access the Open Data API of the Legislative Assembly of Pernambuco (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for alepe version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy