Internal function. Applies a 'mask' to a table to ensure it has the appropriate column values, in an effort to avoid explosions. How this works is that it rbinds the mask and the dat, with fill = TRUE, then removes the masked row, leaving only the original data, plus whatever columns were missing but expected, behind and with NA
1 | apply_mask(mask_names, dat)
|
mask_names |
A Vector of mask names to apply |
dat |
The data set to apply them to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.