Merging data

inner_join()

{dplyr}

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

bind_cols()

{dplyr}

bind columns in dplyr

right_join()

{dplyr}

join two data sets keeping the observations in the right one

bind_rows()

{dplyr}

bind rows in dplyr

setdiff()

{base}

return observations in x but not y

union_all()

{dplyr}

return all observations in x or y

join_by()

{dplyr}

NA

semi_join()

{dplyr}

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

anti_join()

{dplyr}

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

union()

{base}

return unique observations in x or y

left_join()

{dplyr}

join two data sets keeping the observations in the left one

add_row()

{tibble}

add rows to data frame

intersect()

{base}

return only observations in both x and y

full_join()

{dplyr}

join two data sets keeping the observations in both

The end!