I'll preface this by saying I have no knowledge in this area so apologize in advance if my question is bonkers!
Basically, I was hoping someone could point me in the right direction where to start with the below and what approach one should take.
Assuming data that reflect the movement of people through locations where each person and location are uniquely identified, I can use social modelling to find people that have been at the same location. However, there is also a date/time factor in this where two people may have been at the same location but at different times and so have never actually met.
As an example, say:
- Person 1 went to location A on 12/04/2016 12:00 and then left the location on 13/04/2016 18:00.
- Person 2 went to location A on 12/04/2016 10:00 and left on 14/04/2016 10:00.
- Person 3 went to location A on 09/04/2016 11:00 and left on 09/04/2016 18:00.
In that case, persons 1 and 2 are connected due to having been at location A at the same time. Person 3 is connected to neither as although they went to location A, they left prior to the arrival of either person 1 or person 2.
Any help and suggestions with where to start or if this is even feasible would be much appreciated.