View source: R/join_count_rows.R
A concern in a join, particularly the left join, is that the right-hand frame has duplicate rows. This function checks for this by making sure the resulting dataframe has the same number of rows as the left input dataframe.
1 | count_rows(left, right, by = NULL, join_type)
|
left |
dataframe that we want to merge on the left side of the join |
right |
dataframe that we want to merge on the right side of the join |
by |
headers of columns to use to join the left and right data frames |
join_type |
type of join ('left', right', 'inner', etc.) user is checking |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.