politicaldata
0.1.3Tools for Acquiring and Analyzing Political Data
Overview
Provides useful functions for obtaining commonly-used data in political analysis and political science, including from sources such as the Comparative Agendas Project https://www.comparativeagendas.net, which provides data on politics and policy from 20+ countries, the MIT Election and Data Science Lab https://www.electionlab.mit.edu, and FiveThirtyEight https://www.FiveThirtyEight.com.
Install
Health
CRAN check results are not tracked yet.
Documentation
- Examples that run
- 75%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 3 max
- Test cases
- 3 / 0.09 per code line
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
4 4 exported
Complexity
2.8 avg / 3 max
Call network
4 nodes / 0 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
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 |
|---|---|---|---|
| cap_major_topics | data.frame | 21 × 2 | – |
| cap_subtopics | data.frame | 213 × 3 | – |
| house_116 | data.frame | 434 × 22 | – |
| house_results | data.frame | 9,557 × 7 | – |
| pres_results | data.frame | 561 × 6 | – |
| pres_results_by_cd | data.frame | 4,201 × 7 | – |
| senate_116 | data.frame | 100 × 22 | – |
| us_pres_polls_history | data.frame | 3,586 × 10 | – |
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- Total releases
- 3
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 384 KB / 8 files
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet