I have a double repeated measures dataset (i.e., a participant is measured 3 times per session, and repeats session 2 times). Some of my data is preliminary demographic data that is only measured once (e.g., surveys) while the others are all repeated. A toy dataset is shown below:
Survey Q1-Q5 are all the same, as they were preliminary measurements. The measurements are, however, different.
I've been able to join these 2 datasets by:
join <- left_join(Session1,Session2, by = "ID")
However, I want to exclude any of the preliminary surveys from session 2 so that only that info from session 1 is brought over to the new dataframe. The above line of code does not achieve that.
How might I be able to go about doing this?
Thanks!