Takes a given separator and replaces it with an alternative across the dataframe.

replace_sep(data, old_sep, new_sep = "; ")

Arguments

data

A dataframe containing rows of systematic review data.

old_sep

An existing character used to separate values within the data. The default is set to ';'.

new_sep

A replacement character used to separate values within the data. The default is set to ';'.

Examples

if (FALSE) { data <- data %>% replace_sep(old_sep = 'xxx', new_sep = '; '); }