split_events splits multi-category events from arvig into observations with unique categories.

split_events(df = NULL)

Arguments

df

A data frame. If left unspecified, the arvig data frame is used. A user-specified data frame must contain the columns category_en and category_de.

Value

A data frame.

Examples

# NOT RUN { data(arvig) head(split_events()) arvig %>% filter(stringr::str_detect(category_en, "&")) %>% split_events() # }