I have multiple tables that contain multiple records for the same population. I would like to create one data file to describe the population demographics such as sex, race, marital status, etc. but merging one to many or many to one will not work since each subject has multiple records in each table. Is this an instance where merging many to many makes sense? Alternatively, is there code I can use to indicate that I would like the first available record of a variable (e.g. race) in one table to be added to my main table for each subject? Thanks in advance!
-
Login or Register
- Log in with
Comment