How do I combine two dataframes with different number of rows and columns

If they have a common "key" you can use a "join" function

https://dplyr.tidyverse.org/reference/join.html

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.