Bayesian State-Space Aggregation of Brazilian Presidential Polls
Overview
A set of dynamic measurement models to estimate latent vote shares from noisy polling sources. The models build on Jackman (2009, ISBN: 9780470011546) and feature specialized methods for bias adjustment based on past performance and correction for asymmetric errors based on candidate political alignment.
- Fixed priors for non-aligned candidates causing vote share to exceed 100%
- Fixed month names displaying in English in international servers
- Fixed vote share labels collision
- Removed spike priors for scales in volatility parameters
- Updated repo for cmdstanr
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-29
- ERROR9 OK, 3 NOTE, 1 ERROR2026-03-17
- NOTE8 OK, 2 NOTE2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 8
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 57
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/rnmag/agregr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow
pkgdown site last built 2026-10-09
Show all practicesHide 1 practice
Dependencies
Installing agregR adds 61 packages (37 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, showtextdb 1.9 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.0.4Latest
- RR 4.6.0 released · 2026-04-24
- 1.0.32026-03-06
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-03-06
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Additional repositories
- stan-dev.r-universe.dev
- Minimum R
- ≥ 4.1.0
- Bundled data
- 1.1 MB / 1 file
- Download size
- 4.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("agregR")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.