mp_clarity {manifestoR} | R Documentation |
Programmatic clarity measures (PC)
Description
Computes party clarity measures suggested by Giebler/Lacewell/Regel/Werner 2015.
Usage
mp_clarity(
data,
weighting_kind = "manifesto",
weighting_source = NULL,
auto_rescale_weight = TRUE,
auto_rescale_variables = TRUE,
dimensions = clarity_dimensions()
)
Arguments
data |
a dataframe in format of Manifesto Project Main Dataset |
weighting_kind |
manifesto or election-specific weighting of the dimensions |
weighting_source |
name of variable with party importance (likely its importance within an election) weighting (can be rmps, pervote) |
auto_rescale_weight |
rescale party importance weighting within elections to 0-1 |
auto_rescale_variables |
rescale dimension variables to 0-1 |
dimensions |
dimensions to be used, must be in the format of the return value of |
Value
a vector of clarity values
References
Giebler, Heiko, Onawa Promise Lacewell, Sven Regel and Annika Werner. 2015. Niedergang oder Wandel? Parteitypen und die Krise der repraesentativen Demokratie. In Steckt die Demokratie in der Krise?, ed. Wolfgang Merkel, 181-219. Wiesbaden: Springer VS.