Merging data

join two data sets keeping the observations in both

full_join()

{dplyr}

join two data sets dropping all observations in x that have a match in y

anti_join()

{dplyr}

join two data sets keeping the observations in the right one

right_join()

{dplyr}

join two data sets keeping the observations that they have in common

inner_join()

{dplyr}

return observations in x but not y

setdiff()

{base}

bind columns in dplyr

bind_cols()

{dplyr}

return unique observations in x or y

union()

{base}

join two data sets keeping the observations in the left one

left_join()

{dplyr}

add rows to data frame

add_row()

{tibble}

join two data sets keeping all observations in x that have a match in y

semi_join()

{dplyr}

NA

join_by()

{dplyr}

return only observations in both x and y

intersect()

{base}

return all observations in x or y

union_all()

{dplyr}

bind rows in dplyr

bind_rows()

{dplyr}

The end!