Skip to content

Commit b214eda

Browse files
committed
Add RFID data set
1 parent e6a98c9 commit b214eda

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

LICENSE

+12
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@ cortical areas and connections involved in the tactile function of the
8989
visual cortex by network analysis. European Journal of Neuroscience
9090
23(7):1919–1930, 2006.
9191

92+
rfid
93+
----
94+
95+
This data set is licensed under a GPL v3 license.
96+
97+
Please cite the following reference if you use this dataset:
98+
99+
P. Vanhems, A. Barrat, C. Cattuto, J.-F. Pinton, N. Khanafer,
100+
C. Regis, B.-a. Kim, B. Comte, N. Voirin: Estimating potential
101+
infection transmission routes in hospital wards using wearable
102+
proximity sensors. PloS One 8(9), e73970 306 (2013).
103+
92104
yeast
93105
-----
94106

data/rfid.rda

87.7 KB
Binary file not shown.

inst/getdata.R

+19
Original file line numberDiff line numberDiff line change
@@ -706,3 +706,22 @@ enron$LDC_names <- ldc
706706
enron$LDC_desc <- ldc_desc
707707
enron$name <- "Enron email network"
708708
enron$Citation <- c('C.E. Priebe, J.M. Conroy, D.J. Marchette, and Y. Park, "Scan Statistics on Enron Graphs," Computational and Mathematical Organization Theory, Volume 11, Number 3, p229 - 247, October 2005, Springer Science+Business Media B.V.')
709+
710+
#####################################################################
711+
## RFID
712+
713+
library(sand)
714+
data(hc)
715+
716+
edges <- hc[,c(2,3,1)]
717+
vv <- character(max(hc[,2:3]))
718+
vv[hc$ID1] <- as.character(hc$S1)
719+
vv[hc$ID2] <- as.character(hc$S2)
720+
721+
v <- data.frame(id = seq_along(vv), Status = vv, stringsAsFactors = FALSE)
722+
723+
rfid <- graph_from_data_frame(edges, vertices = v, directed = FALSE)
724+
rfid <- delete_vertex_attr(rfid, 'name')
725+
726+
rfid$name <- "RFID hospital encounter network"
727+
rfid$Citation <- "P. Vanhems, A. Barrat, C. Cattuto, J.-F. Pinton, N. Khanafer, C. Regis, B.-a. Kim, B. Comte, N. Voirin: Estimating potential infection transmission routes in hospital wards using wearable proximity sensors. PloS One 8(9), e73970 306 (2013)."

man/rfid.Rd

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
\name{rfid}
2+
\alias{rfid}
3+
\title{Hospital encounter network data}
4+
\description{
5+
Records of contacts among patients and various types of health care
6+
workers in the geriatric unit of a hospital in Lyon, France, in
7+
2010, from 1pm on Monday, December 6 to 2pm on Friday, December
8+
10. Each of the 75 people in this study consented to wear RFID
9+
sensors on small identification badges during this period, which made
10+
it possible to record when any two of them were in face-to-face
11+
contact with each other (i.e., within 1-1.5 m of each other) during
12+
a 20-second interval of time.
13+
}
14+
\usage{
15+
rfid
16+
}
17+
\format{
18+
An igraph graph with graph attributes \sQuote{name} and
19+
\sQuote{Citation}, vertex attribute \sQuote{Status} and edge attribute
20+
\sQuote{Time}.
21+
22+
\sQuote{Status} is the status of the person. Status codes:
23+
administrative staff (ADM), medical doctor (MED), paramedical staff,
24+
such as nurses or nurses' aides (NUR), and patients (PAT).
25+
26+
\sQuote{Time} is the time of the encounter, it is the second when the
27+
20 second encounter terminated.
28+
}
29+
\source{
30+
See the reference below.
31+
Please cite it if you use this dataset in your work.
32+
}
33+
\references{
34+
P. Vanhems, A. Barrat, C. Cattuto, J.-F. Pinton, N. Khanafer,
35+
C. Regis, B.-a. Kim, B. Comte, N. Voirin: Estimating potential
36+
infection transmission routes in hospital wards using wearable
37+
proximity sensors. PloS One 8(9), e73970 306 (2013).
38+
}
39+
\keyword{datasets}

0 commit comments

Comments
 (0)