View source: R/str_rm_whitespace.R
str_rm_whitespace_df | R Documentation |
str_rm_whitespace_df()
removes all leading, trailing, and collapses multiple consecutive white spaces in non-numerical variables in a data frame.
str_rm_whitespace_df(df)
df |
A data frame or data frame extension (e.g. a tibble) with leading or trailing spaces. |
A clean data frame with no leading or trailing spaces.
richest_in_nigeria
str_rm_whitespace_df(richest_in_nigeria)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.