
Get electoral term affiliations of politicians.
get_ets.RdGet electoral term affiliations of politicians.
Arguments
- data
Input
data.frame.- var
Name of variable (
character) that contains the electoral term values.- dummy
A
logicalvalue indicating whether to generate dummy variables per electoral term (TRUE) or a singlelistvariable. Default isTRUE.- merge
A
logicalvalue indicating whether to return just the generated columns (FALSE) or the wholedata.frame(TRUE). Default isTRUE.