Skip to content

ElectDecomp

0.0.1-8

Decomposition of Seats-to-Votes Distortions

0packages depend
2Kdownloads / year
test coverage
12/13checks pass

Overview

About
Maintained by Jose M. PavíaFirst published 2024-07-262 releasesCRAN page ↗

Analyses districted electoral systems of any magnitude by computing district-party conversion ratios and seats-to-votes deviations, decomposing the sources of deviation. Traditional indexes are also computed. References: Kedar, O., Harsgor, L. and Sheinerman, R.A. (2016). doi:10.1111/ajps.12225. Penades, A and Pavia, J.M. (2025) ''The decomposition of seats-to-votes distortion in elections: mean, variance, malapportionment and participation''. Acknowledgements: The authors wish to thank Consellería de Educación, Cultura, Universidades y Empleo, Generalitat Valenciana (grant CIACO/2023/031) for supporting this research.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 57 s · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
80%

Downloads

2K
CRAN downloads in the past year
Rank #21,839 · ~5/day · ~165/mo
Daily download trend is not available in this view yet.
15430 days
50390 days
2K1 year
Compare downloads with other packages →
Also on190 r2u1 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.0.1-8Latest
    2025-01-09 · current release · diff ↗
  • 0.0.1-1
    2024-07-26
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-26
Total releases
2 / 2 yrs
License
EPL
Download size
20 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy