alepe: Access the Open Data API of the Legislative Assembly of Pernambuco
Source:R/alepe-package.R
alepe-package.RdA 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.
Package options
alepe.quiet: suppress informational messages. Defaults toTRUEin non-interactive sessions.alepe.cache_dir: cache location. Defaults totools::R_user_dir("alepe", "cache").alepe.cache_max_age: cache expiry in seconds. Defaults to 6 hours.alepe.max_tries: maximum request attempts. Defaults to 3, with exponential backoff between attempts.alepe.timeout: request timeout in seconds. Defaults to 30.
Author
Maintainer: Andre Leite leite@castlab.org (ORCID)
Authors:
Andre Leite leite@castlab.org (ORCID)
Marcos Wasiliew marcos.wasiliew@sepe.pe.gov.br
Hugo Vasconcelos hugo.vasconcelos@ufpe.br (ORCID)
Carlos Amorim carlos.agaf@ufpe.br (ORCID)
Diogo Bezerra diogo.bezerra@ufpe.br (ORCID)
Júlia Nascimento Barreto juliabarreto@gd.seplag.pe.gov.br