patch_data | R Documentation |
Patch one data set using another
patch_data(
basedata,
patchdata,
by = dplyr::group_vars(basedata),
...,
replace = NA,
do_not_replace = NA,
verbose = TRUE
)
basedata |
The original (source) data |
patchdata |
The updated data |
by |
The variables to match between source and updated data (all other columns in the updated data are used to patch the source data). |
... |
Ignored |
replace |
Values selected in |
do_not_replace |
Values in |
verbose |
Report on replacement count by column. |
The basedata
updated with values from patchdata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.