Import data from different datasets using unique ID

You can learn how to do this from here

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