var_info: Shows basic information on a specific variable as given in...

View source: R/var_info.R

var_infoR Documentation

Shows basic information on a specific variable as given in the codebook

Description

Provides information on full name as specified in the codebook, variable type, data collection process (questions, clarifications, responses), scale, aggregation, years and sources (plus notes) of a variable in the V-Dem data set

Usage

var_info(var_tag)

Arguments

var_tag

A variable's name as used in the V-Dem data set, e.g. "v2x_polyarchy" for the electoral democracy index. Note: use quotation marks vor "var_tag".

Value

A list of information on the desired variable.

Examples

# Get information on the variable "v2x_polyarchy" (the electoral democracy index)
var_info("v2x_polyarchy")

vdeminstitute/vdemdata documentation built on March 26, 2024, 5:10 a.m.