I have 2 dataframes, d(date,a,b,c,number1,number2)
and e(a,b,c,population)
where a,b,c are gender, state and categorie of age.
rem : the number of lines of d > the number of lines of e
I would like to add the good amount of pupulation from e corresponding to the same a and b and c in the dataframe d, ie d(date,a,b,c,number1,number2,population)
What I tried : (didn't work)
result <- merge (d,e,by=c(a,b,c))