Description Usage Arguments Value Examples
View source: R/confirm_strlength.R
returns a count table of string lengths for a character column. The helper function choose_strlen
filters dataframe for rows containing specific string length for the specified column.
1 2 3 | confirm_strlen(mdb, col)
choose_strlen(cs_output, len)
|
mdb |
dataframe |
col |
unquoted column |
cs_output |
dataframe. output from |
len |
integer vector. |
prints a summary and returns a dataframe invisibly
dataframe with original columns, filtered to the specific string length
1 2 3 4 5 6 7 8 | iris %>%
tibble::as_tibble() %>%
confirm_strlen(Species) -> iris_cs_output
iris_cs_output
iris_cs_output %>%
choose_strlen(6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.