"Bipiped" means that different values are separated by a pair of pipes (||), like the logical OR operator in R. Use bipiped_value_to_vector() for single values, and bipiped_values_to_vector() for a vector of values, in which case a list is returned.

bipiped_value_to_vector(x, stripQuotes = TRUE)

bipiped_values_to_vector(x)

Arguments

x

The value or vector of values.

stripQuotes

Whether to strip enclosing quotes fromeach vector element.

Value

A vector or list of vectors.

Examples

exampleValue <-
  paste0('"Purposefully select" || "Aselect" || ',
         '"Likely self-selected" || "Ameliorated self-selection"');
bipiped_value_to_vector(exampleValue);
#> [1] "Purposefully select"        "Aselect"                   
#> [3] "Likely self-selected"       "Ameliorated self-selection"