Hello community - i have to subset a data set of have and keep ROWS of data associated with a number of columns. It is a data set with 900 rows and i have to keep only 200 or so unique subject IDs. Here is an example of them:
032630P
032650P
032671P
032683P
032686P
032717P
032718P
032779P
D9952P
D9953P
.......ETC
Does anyone know the code i can use to quickly filter only these subject IDs from the data set if have while maintaining all of the data associated with them? Also, some of the IDs have more than one row of data associated with them.. do i need to account for that somehow?