add_missing_columns | R Documentation |
Add columns if missing from input dataframe
add_missing_columns(df, columns, default_value = 0)
df |
input data.frame |
columns |
character vector, columns to add |
default_value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.