Description Usage Arguments Details Value
safe_join performs a dplyr left_join, checking for common errors and warning when matches are not found.
1 |
x |
Data frame |
y |
Data frame |
by |
Key(s) to join by. Required. |
return_errors |
Set to TRUE to return error dataset |
... |
Other parameters sent to dplyr |
safe_join performs the following checks:
1. Checks that key is unique in df2
2. Reports that matches not found in df1 or df2 (Corresponding to _merge == 1)
3. Checks if non-key columns exist in both datasets
Joined dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.