Apportion Seats
Overview
Convert populations into integer number of seats for legislative bodies. Implements apportionment methods used historically and currently in the United States for reapportionment after the Census, as described in https://www.census.gov/history/www/reference/apportionment/methods_of_apportionment.html.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%9 run in a plain check
- 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
- 0
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Releases over time
PRs over time
11 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/christopherkenny/apportion 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-07-01 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository has an AI review tool set up.
- Copilot code reviewCommits: at least 5 accepting its review suggestions
Dependencies
Installing apportion adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.0.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.0.12023-02-16
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-02-16
- Total releases
- 2 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 1.1 KB / 1 file
- Download size
- 38 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("apportion")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.