Description Usage Arguments Details Value
View source: R/replace_missing_string.R
Given a tibble and a column, this function will find target values (by default "") and replace them with a string (by default "Missing").
1 2 3 4 5 6 7 | replace_missing_string(
this_data,
this_var,
this_function = NA,
replacement_targets = "",
replacement_value = "Missing"
)
|
this_data |
The tibble in which the column exists |
this_var |
The column name (if not a quosure, it will be made into one) |
this_function |
A label for error/warning messages (by default it is the name of this function). |
replacement_targets |
The value to be replace (default="") |
replacement_value |
The value to replace it with (default="Missing) |
Function can be repurposed to replace any target value with another string.
The updated tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.