prepare_democracy: Prepares selected indexes in the democracy dataset for use in...

Description Usage Arguments Value Examples

View source: R/QuickUDS.R

Description

Prepares selected indexes in the democracy dataset for use in a UD model

Usage

1
2
prepare_democracy(..., identifiers = c("extended_country_name", "year", "GWn",
  "cown", "polity_ccode", "in_GW_system"))

Arguments

...

a set of measures of democracy in the democracy dataset (either bare column names, or strings). Can be a dplyr::select expression (but dplyr must be loaded for this to work).

identifiers

A set of identifiers to return with the data. Defaults to c("extended_country_name", "year", "GWn", "cown", "polity_ccode", "in_GW_system"). Must exist in the democracy dataset.

Value

A dataset ready for use with democracy_model

Examples

1
prepare_democracy(dplyr::matches("pmm"))

xmarquez/QuickUDS documentation built on March 21, 2018, 10:12 a.m.