Problems with this dataset? Open an issue.
You may also take a look at the source code.
The networks in this dataset can be loaded directly from graph-tool with:(and likewise for the other networks available.)import graph_tool.all as gt g = gt.collection.ns["sp_high_school/proximity"]
These data sets correspond to the contacts and friendship relations between students in a high school in Marseilles, France, in December 2013, as measured through several techniques.1
The first data set gives the contacts of the students of nine classes during 5 days in Dec. 2013, as measured by the SocioPatterns infrastructure. The file contains a tab-separated list representing the active contacts during 20-second intervals of the data collection. Each line has the form “t i j Ci Cj“, where i and j are the anonymous IDs of the persons in contact, Ci and Cj are their classes, and the interval during which this contact was active is [ t – 20s, t ]. If multiple contacts are active in a given interval, you will see multiple lines starting with the same value of t. Time is measured in seconds and expressed in UNIX ctime.
The second data set corresponds to the directed network of contacts between students as reported in contact diaries collected at the end of the fourth day of the data collection. Each line has the form “i j w”, meaning that student i reported contacts with student j of aggregate durations of (i) at most 5 min if w = 1, (ii) between 5 and 15 min if w = 2, (iii) between 15 min and 1 h if w = 3, (iv) more than 1 h if w = 4.
The third data set corresponds to the directed network of reported friendships. Each line has the form “i j”, meaning that student i reported a friendship with student j.
The fourth data set corresponds to the list of pairs of students for which the presence or absence of a Facebook friendship is known. Each line has the form “i j w”, where w=1 means that students i and j are linked on Facebook, while w=0 means that they are not.
Finally the metadata file contains a tab-separated list in which each line of the form “i Ci Gi” gives class Ci and gender Gi of the person having ID i.
|proximity||329||188,508||1145.95||879.50||40.12||88.29||0.47||0.61||4||0.99||Undirected||Unipartite||id class gender||time||200 KiB||607 KiB||575 KiB||531 KiB|
|diaries||329||502||1.53||4.53||6.54||381.91||0.13||0.42||12||0.36||Directed||Unipartite||id class gender||weight||8 KiB||12 KiB||10 KiB||9 KiB|
|survey||329||668||2.03||6.05||8.59||35.34||0.37||0.50||10||0.39||Directed||Unipartite||id class gender||8 KiB||12 KiB||11 KiB||9 KiB|
|329||1,437||8.74||11.34||23.38||18.21||0.02||0.52||5||0.47||Undirected||Unipartite||id class gender||10 KiB||14 KiB||13 KiB||11 KiB|