Democracy Datasets

Datasets with measures of democracy.

anckar

The Anckar-Fredriksson dataset of political regimes

anrr

The Acemoglu, Naidu, Restrepo and Robinson deocracy dataset

arat_pmm

The Arat measure of democracy

blm blm_pmm

The Bowman, Lehoucq, and Mahoney index of democracy for Central America

bmr

Boix-Miller-Rosato dichotomous coding of democracy, 1800-2020, version 4.0

bnr bnr_extended

The Bernhard, Nordstrom & Reenock Event History Coding of Democratic Breakdowns

bollen_pmm

The Bollen measure of democracy

bti

The Bertelsmann Transformation Index

doorenspleet

Renske Doorenspleet's Democracy Dataset

eiu

The Economist Intelligence Unit's Democracy Index

extended_uds

Extended UDS

fh_pmm

Freedom House "Freedom in the World" data from Pemstein, Meserve, and Melton's replication dataset

gwf_all gwf_all_extended gwf_autocratic gwf_autocratic_extended

The Geddes Wright and Frantz Autocratic Regimes dataset

hadenius_pmm

Axel Hadenius' Index of Democracy

kailitz

The Steffen Kailitz Dataset of Authoritarian Regime Types

LIED

The Lexical Index of Democracy, v. 6.4

magaloni magaloni_extended

Autocracies of the World, 1950-2012 (Version 1.0).

mainwaring mainwaring_pmm

Mainwaring, Brinks, and Perez Linan's democracy measure for Latin America

munck_pmm

Munck Index of Democracy

pacl pacl_pmm

The Democracy and Dictatorship Dataset (DD/PACL/ACLP/CGV)

pacl_update

Update of the Democracy and Dictatorship Dataset by Bjørnskov and Rode

peps

Participation-Enhanced Polity Score

PIPE

The Political Institutions and Political Events (PIPE) dataset

pitf pitf_p4

PITF democracy indicator

polityIV

Polity IV

polity_pmm

Polity 2 from PMM

polyarchy polyarchy_pmm

The Polyarchy Scale and the Contestation Scale

polyarchy_dimensions

Indicators of Contestation and Inclusiveness by Michael Coppedge, Angel Alvarez, and Claudia Maldonado

prc_gasiorowski prc_pmm

The Political Regime Change (PRC) dataset.

REIGN

The Rulers, Elections, and Irregular Governance Dataset (Regime data)

svmdi svmdi_2016

Suport Vector Machine Democracy Index by Grundler and Krieger

svolik_regime

Milan Svolik's Regime Dataset

uds_2014 uds_2011 uds_2010

The Unified Democracy Scores

ulfelder ulfelder_extended

The Democracy/Autocracy Dataset by Jay Ulfelder

utip

The University of Texas Inequality Project Categorical Dataset of Political Regimes

vanhanen vanhanen_pmm

Vanhanen measures of democracy, 1800-2012

vdem_simple

Simplified version of the V-Dem version 12 dataset

wahman_teorell_hadenius

Authoritarian Regimes Data Set, version 5.0, by Axel Hadenius, Jan Teorell, & Michael Wahman

Download_ functions

Functions for downloading annually-updated datasets.

download_fh()

Downloads the 2022 update of the Freedom House Freedom in the World data and processes it using country_year_coder

download_fh_electoral()

Downloads the 2022 update of the Freedom House Electoral Democracies list and processes it using country_year_coder.

download_fh_full()

Downloads the 2022 update of the Freedom House Freedom in the World All Data 2013-2022 file and processes it using country_year_coder.

download_polity_annual()

Downloads the 2020 update of the Polity 5 dataset (annual time series) and processes it using country_year_coder

download_wgi_voice_and_accountability()

Download the latest version (data up to 2019) of the Democracy, Voice, and Accountability index from the World Governance Indicators and process it via country_year_coder

Redownload_ functions

Functions for re-downloading other datasets.

redownload_blm() redownload_anckar() redownload_bmr() redownload_gwf() redownload_pacl() redownload_peps() redownload_utip() redownload_wahman_teorell_hadenius() redownload_polyarchy_original() redownload_polyarchy_dimensions() redownload_magaloni() redownload_svmdi() redownload_ulfelder() redownload_pipe() redownload_bti() redownload_pacl_update() redownload_reign()

Download and process various democracy datasets.

redownload_lied()

Downloads the 2022 update (v. 6.4) of the Lexical Index of Electoral Democracy (annual time series, data to 2021) and processes it using country_year_coder.

redownload_polityIV()

Downloads the 2019 update of the Polity IV dataset (annual time series, to 2018) and processes it using country_year_coder.

Generate_ functions

Functions for generating other democracy datasets.

generate_democracy_scores_dataset()

Generate a data frame containing all the democracy measures accessible from this package

generate_extended_uds()

Generates the extended UDS scores from the latest democracy data in this package

Latent Variable Models functions

Functions for producing latent variable models of democracy.

prepare_democracy_data()

Prepare democracy data before replicating the UDS model

prob_more()

Probability that a country-year is more democratic than another

democracy_scores()

Extract UD scores from a UD model

cutpoints()

Extract cutpoints from a UD model in a tidy format.

raterinfo()

Extract rater info from a UD model in a tidy format.

Information functions

Functions and datasets with citation and other info about the datasets in this package.

bibliography

References to all the datasets included in this package.

cite_dataset()

Retrieve the citation for a specific dataset included in this package

democracy_info

Basic information about existing democracy measures

State system functions

Functions for manipulating and fixing country-year panels with state system information.

country_year_coder()

Given a set of country-years, find appropriate country codes, standardized country names, and determine state system membership

create_panel()

Create a panel of countries belonging in the state system.

Utility functions

Utility functions for working with country-year democracy data.

remove_empty_rows()

Removes empty rows (rows with all NAs) from a data frame

count_sequence_breaks()

Count sequence breaks