Function to join a list of data frames to a main data frame using a shared column.

join_dfs(list_of_dfs, main_df, shared_column)

Arguments

list_of_dfs

The list of data frames that you would like to join to the main data frame

main_df

The main data frame that you want to join the list of data frames

shared_column

The column that all the data frames share which will be used to join the data frames together.

Value

A list of merged dataframes by the shared_column