Skip to contents

Get professional group affiliation of politicians' jobs.

Usage

get_profession_groups(data, var, merge = TRUE)

Arguments

data

Input data frame.

var

Name of variable that contains the profession values.

merge

A boolean value indicating whether to return just the profession groups or the whole data frame. Default is TRUE.

Value

A data frame.