replace_sep: Replace a given separator across dataframe

View source: R/repair_and_replace.R

replace_sepR Documentation

Replace a given separator across dataframe

Description

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

Usage

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

## Not run: 
data <- data %>%
    replace_sep(old_sep = 'xxx', new_sep = '; ');
    
## End(Not run)

softloud/sysrevdata documentation built on June 7, 2022, 1:21 p.m.