polimetrics
1.2.1.14R Tools for Political Measures
Overview
This is a collection of data and functions for common metrics in political science research. Data measuring ideology, and functions calculating geographical diffusion and ideological diffusion - geog.diffuse() and ideo.dist(), respectively. Functions derived from methods developed in: Soule and King (2006) doi:10.1086/499908, Berry et al. (1998) doi:10.2307/2991759, Cruz-Aceves and Mallinson (2019) doi:10.1177/0160323X20902818, and Grossback et al. (2004) doi:10.1177/1532673X04263801.
Install
Health
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0810 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- WARNING2026-06-0710 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 29%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.5 median / 5 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
2 2 exported
Complexity
3.5 avg / 5 max
Call network
2 nodes / 0 edges
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| Ideology | data.frame | 3,050 × 4 | – |
| Ideology_ERA | data.frame | 300 × 7 | – |
| State_Neighbors | data.frame | 50 × 2 | – |
| US_Counties | data.frame | 3,104 × 8 | – |
| US_States | data.frame | 50 × 5 | – |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.2.1.14Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2022-01-17
- Total releases
- 1 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2.3
- Bundled data
- 72 KB / 5 files
- Download size
- 87 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet