I have two dataframes from two different years, and I would like to merge them to a single dataframe based on common row values from column code present in both the dataframes.
How can I do this using dplyr in R?
DF1
Code Count_2020
A 1
B 2
C 3
D 4
E 5
F 6
DF2
Code Count_2021
A 4
B 8
C 6
D 8
E 10
F 12
G 2
H 3
I 4
J 5