Description Usage Arguments Value Examples
Convert a data.table column of character vectors into a column with one row per word grouped by a grouping column. Optionally will split a column of strings into vectors of constituents.
1 | as.text.table(x, text, split = NULL, group_by = NULL)
|
x |
A data.table. |
text |
A string, the name of the column in x containing text to un-nest. |
split |
A string with a pattern to split the text in text column into constituent parts. |
group_by |
A vector of column names to group by. Doesn't work if the group by column is a list column. |
A data.table, text column un-nested to one row per word.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.