Remove 'unnecessary' whitespace (leading spaces and trailing spaces for each cell value and either side of a given separator).

trim_spaces(data, value_sep = ";")

Arguments

data

A dataframe containing rows of systematic review data.

value_sep

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

Value

Dataframe with whitespace removed.

Examples

if (FALSE) { data <- trim_spaces(data); }