Calculating Political System Metrics
Overview
A toolbox to facilitate the calculation of political system indicators for researchers. This package offers a variety of basic indicators related to electoral systems, party systems, elections, and parliamentary studies, as well as others. Main references are: Loosemore and Hanby (1971) doi:10.1017/S000712340000925X; Gallagher (1991) doi:10.1016/0261-3794(91)90004-C; Laakso and Taagepera (1979) doi:10.1177/001041407901200101; Rae (1968) doi:10.1177/001041406800100305; Hirschmaņ (1945) <ISBN:0-520-04082-1>; Kesselman (1966) doi:10.2307/1953769; Jones and Mainwaring (2003) doi:10.1177/13540688030092002; Rice (1925) doi:10.2307/2142407; Pedersen (1979) doi:10.1111/j.1475-6765.1979.tb01267.x; SANTOS (2002) <ISBN:85-225-0395-8>.
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘hiperfrac.R’ ‘rice.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'hiperfrac.R' 'rice.R'- NOTE13 NOTENow
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 14
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Repository
- 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
Stars over time
Forks over time
Releases over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/silvadenisson/politicsr on 2026-10-22.
Show all practicesHide 1 practice
Dependencies
Installing politicsR adds 1 package (0 with compiled code, 21 KB of source tarballs). Heaviest: ineq 21 KB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 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.1.0Latest2023-03-16 · current release
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-03-16
- Total releases
- 1 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.3.0
- Bundled data
- 186 KB / 3 files
- Download size
- 200 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("politicsR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.7716660.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.