Score Redistricting Plans with 'PlanScore'
Overview
Provides access to the 'PlanScore' Application Programming Interface (https://github.com/PlanScore/PlanScore/blob/main/API.md) for scoring redistricting plans. Allows for upload of plans from block assignment files and shape files. For shapes in memory, such as from 'sf' or 'redist', it processes them to save and upload. Includes tools for tidying responses and saving output from the website.
- Now depends on R 4.1.0 due to use of base pipe.
- Fixes writing to file issue in
ps_upload()(#2).
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-01
- ERROR11 OK, 2 ERROR2026-09-13
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 88%7 run in a plain check (2 of them under a condition) · 1 never run
- 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
- 451
- Median days to close, 50 most recently updated closed PRs
- 0
Releases over time
Issues over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/christopherkenny/planscorer 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-16 · The repository has a site deploy workflow
pkgdown site last built 2026-09-16
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.0.3Latest
- RR 4.5.0 released · 2025-04-11
- 0.0.2
- RR 4.4.0 released · 2024-04-24
- 0.0.12024-02-23
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-02-23
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 347 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("planscorer")The package provides a citation file, so citation() returns the authors' own entry.
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.