count_rows: Counting join rows

Description Usage Arguments

View source: R/join_count_rows.R

Description

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.

Usage

1
count_rows(left, right, by = NULL, join_type)

Arguments

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


associatedpress/apdatacheck documentation built on Feb. 17, 2020, 9:27 p.m.