This function takes a list of data frames and joins them using full_join
, ensuring that only
unique columns from each data frame are included in the final result. It removes any columns
that already exist in the preceding data frames.
Usage
join_data_frames(data_frames, join_columns)
Arguments
- data_frames
A list of data frames to be joined.
- join_columns
A character vector of column names to join the data frames by.
Value
A single data frame with all the data frames joined by the specified columns.