get_vdem: Download V-Dem (Current Version)

View source: R/get_vdem.R

get_vdemR Documentation

Download V-Dem (Current Version)

Description

Download a copy of the most recent version of V-Dem that is housed in the official vdemdata GitHub package.

Usage

get_vdem(write_out = FALSE)

Arguments

write_out

Logical to write the V-Dem dataset to your local directory.

Details

This function is a simple download wrapper to directly acquire V-Dem's current dataset from their GitHub repo. The vdemdata package is not available on CRAN or Bioconductor so it can disrupt workflows that do not permit non-standard package installations. Additionally, this function contains test scripts that will notify the package manager if the remote dataset undergoes significant structural changes (dimensions, location, etc.)

Value

A data.frame of V-Dem data.

Examples



vdem <- demcon::get_vdem(write_out = FALSE)


demcon documentation built on March 31, 2023, 10:27 p.m.