Skip to content
This package was removed from CRAN on 2021-01-29. Its history is shown below.
Reason: policy violation. On Internet access
Details below reflect version 0.1.3, its last release before removal.

politicaldata

0.1.3

Tools for Acquiring and Analyzing Political Data

0packages depend
downloads / year
test coverage
checks pass

Overview

About
Maintained by G. Elliott Morris3 releasesCRAN page ↗

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 checks

CRAN check results are not tracked yet.

Code health
Yes
Tests · ratio 0.09
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct

Documentation

Documentation
READMEYes · 631 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

politicaldata
Daily download trend is not available in this view yet.
Also on28 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (1)
utils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Code Composition
R 344 (57%)Rd 263 (43%)
Code characteristics
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.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 8
NameClassRows × ColsAlso ships in
cap_major_topicsdata.frame21 × 2
cap_subtopicsdata.frame213 × 3
house_116data.frame434 × 22
house_resultsdata.frame9,557 × 7
pres_resultsdata.frame561 × 6
pres_results_by_cddata.frame4,201 × 7
senate_116data.frame100 × 22
us_pres_polls_historydata.frame3,586 × 10

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (3)
Package Timeline

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

  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2021-01-29
    policy violation On Internet access
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.3
    2019-06-17 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.2
    2019-03-13 · diff ↗
  • 0.1.1
    2019-02-22
  • R
    R 3.5.0 released · 2018-04-23

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
Report a problem with this page →