/vdemdata

A package to load, explore and work with the most recent (v10) V-Dem (Varieties of Democracy) dataset.

Primary LanguageR

An R package to load, explore and work with the most recent V-Dem (Varieties of Democracy) dataset.

V-Dem: Global Standards, Local Knowledge

Varieties of Democracy (V-Dem) is a new approach to conceptualizing and measuring democracy. We provide a multidimensional and disaggregated dataset that reflects the complexity of the concept of democracy as a system of rule that goes beyond the simple presence of elections. The V-Dem project distinguishes between five high-level principles of democracy: electoral, liberal, participatory, deliberative, and egalitarian, and collects data to measure these principles.

We are a team of over 50 social scientists on six continents. We work with more than 3,000 country experts and a truly global International Advisory Board. Read more about the work we do here.

The vdemdata R package

This package contains the most recent V-Dem dataset (v10) and provides some additional functions.

Basics:

  • vdem: Load the dataset
  • var_info: Print to the console basic information on a specific variable as given in the codebook
  • find_var: Search variables via keywords

Graphics:

  • plot_indicator: Plot V-Dem indicators for exploratory data analysis.

Data on episodes of autocratization and democratization:

  • get_aut: Identify episodes of autocratization in the most recent vdem data set. Autocratization is defined as any movement towards autocracy which starts within democracies or autocracies (cf. Lührmann and Lindberg, Democratization, 2019)
  • get_dem: Identify episodes of democratization in the most recent vdem data set. Democratization is defined as any movement towards democracy which starts in autocracies or democracies (cf. Wilson et al., 2020)
  • find_overlap: Find potential overlaps between episodes of democratization and autocratization which may occur depending on how the thresholds are set.
  • fix_overlap: Interactive function to fix potential overlaps between episodes of democratization and autocratization which may occur depending on how the thresholds are set.

Installation

# Install the development version of the vdemdata package 
# (since this package is still an ongoing project, 
# keep checking for updates, new functions, etc.!)

# First, you need to have the devtools package installed
install.packages("devtools")
# now, install the vdemdata package directly from GitHub
devtools::install_github("vdeminstitute/vdemdata")