R/separate_wider_regex.R
separate_wider_regex.Rd
Separate a character column into multiple columns using regex patterns
separate_wider_regex(
.df,
cols,
patterns,
...,
names_sep = NULL,
names_repair = "check_unique",
too_few = "error",
cols_remove = TRUE
)
A data frame
Columns to separate
patterns
These dots are for future extensions and must be empty.
Names separator
Treatment of duplicate names. See ?vctrs::vec_as_names
for options/details.
What to do when too few column names are supplied
Should old columns be removed