Description Usage Arguments Value Examples
Split provided string according to specified pattern. Organise output as a
tibble
.
1 | utils_split_and_name(string, pattern, num_col, colnames)
|
string |
Character string to be split. |
pattern |
Pattern to split on as character string (can be a regex). |
num_col |
Number of parts to split the string into as integer. |
colnames |
Column names for the output tibble. |
A tibble
1 2 3 4 | ## Not run:
utils_split_and_name("glasgow-entrepreneurs", "-", 2, c("location", "occupation"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.