changed get_lps to get_ets (consistent treatment of internal names as abbreviation of electoral term)
designed get_ets analogously to get_profession_groups, but offer more flexibility:
function offers option to choose (dummy parameter) whether the output format is in dummy form or a list (that is a data.framecolumn)
2. merge parameter either returns the whole input data frame including the newly generated columns or just the generated column(s)
get_lps
toget_ets
(consistent treatment of internal names as abbreviation of electoral term)get_ets
analogously toget_profession_groups
, but offer more flexibility:dummy
parameter) whether the output format is in dummy form or a list (that is adata.frame
column)2. merge
parameter either returns the whole input data frame including the newly generated columns or just the generated column(s)