Import data from different datasets using unique ID

I want to collect data from different datasets using a unique ID and build a new data set with all collected information.

I will start out with a cohort of 100 observations where all I have is a list a unique ID:s (persons). Then I want to use this ID and then copy different variables (attributes) in the same row (several variables) where the ID matches. At last I want to merge it into the first dataset.

Anyone eager to help?

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.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.