I would like to combine the two tables as I showed in the picture.
My test:
df3 = merge(df1, df2, by.x=c("Date", "product"),