Posts

Showing posts with the label transfer

graphing dorm movements in neo4j

graphing dorm movements in neo4j I'm really struggling getting my head around neo4j and was hoping someone might be able to help point me in the right direction with the below. Basically, I have a list of what can be referred to as events; the event can be said to describe a patient entering and leaving a room. Each event has a unique identifier; it also has an identifier for the student in question along with start and end times (e.g. the student entered the room at 12:00 and left at 12:05) and an identifier for the room. The event and data might look along the lines of the below, columns separated by a pipe delimiter ID|SID|ROOM|ENTERS|LEAVES 1|1|BLUE|1/01/2015 11:00|4/01/2015 10:19 2|2|GREEN|1/01/2015 12:11|1/01/2015 12:11 3|2|YELLOW|1/01/2015 12:11|1/01/2015 12:20 4|2|BLUE|1/01/2015 12:20|5/01/2015 10:48 5|3|GREEN|1/01/2015 18:41|1/01/2015 18:41 6|3|YELLOW|1/01/2015 18:41|1/01/2015 21:00 7|3|BLUE|1/01/2015 21:00|9/01/2015 9:30 8|4|BLUE|1/01/2015 19:30|3/01/2015 11:00 9|5|GREEN|...