I am dealing with multiple DFs. Each DF has two variables. One is unique IDs, the other is the year. I would like to merge these DFs by Year and then see how many duplicates I return per year.
A data frame looks like this.
ID Year
11111 2013
21314 2014
24141 2015
Except, each frame has a lot more IDs. And there are multiple frames.
Ex: I have 11111 in DF1 for 2013.
Ex: I have 11111 in DF2 for 2013.
Ex: I have 11111 in DF3 for 2013.
How would I combine this so I have all these organized by 2013, and can see all the duplicates in this Data Frame?
I would need to make multiple other data frames as well.