Learn R Programming

demcon (version 0.4.0)

get_vdem: 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)

Value

A data.frame of V-Dem data.

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.)

Examples

Run this code

# \donttest{
vdem <- demcon::get_vdem(write_out = FALSE)# }

Run the code above in your browser using DataLab