'Merging dataframes in R is only merging half of the data?

I'm trying to merge two dataframes in R. When i try to combine them, it combines all the correct rows and columns, but the data doesn't move over too. I've tried full_join and merge() on the data.

The data I have is all in each original dataframe, and both dataframes share a column in common (which is what I'm using to merge with). Is there a function out there that will let me merge the dataframes and the data, despite only having one column in common?

r


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source