Description Usage Arguments Value Examples
This function is used to filter whitelist entries (users), session events and slide transsionts for a specific ASQ session.
1 2 | filter_data_for_session(session, whitelistentries, sessionevents,
slide_transitions)
|
session |
the session to filter for |
whitelistentries |
a data.frame with all the whitelistentries |
sessionevents |
a data.frame with the all the sessionevents |
slide_transitions |
a data.frame with the all the slide transitions |
A list
that contains the sessionevents
, slide_transitions
,
slide_transitions_with_ex
(slide transitions with exercises),
slide_transitions_without_ex
(slide transitions without exercises) and the users
for the specified session
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | session <- data.frame(id = c("s1"))
session[,1] <- factor(session[,1], levels=c("s1", "s2"))
whitelistentries = data.frame(
id = c("wl1", "wl2", "wl3", "wl4", "wl5"),
session = c("s1", "s2", "s1", "s1", "s2"),
screenName = c("Fernscar Pirate", "Glazebard Dolphin", "Deepmouse Wolverine", "Planetpegasus Eater", "Crazyfalcon Runner"),
role = c("presenter", "presenter", "viewer", "viewer", "viewer")
)
sessionevents = data.frame(
session = c("s1", "s1", "s2"),
type = c("type1", "type2", "type1")
)
slidetransitions = data.frame(
session = c("s1", "s1", "s1", "s2", "s2"),
slide = c("slide1", "slide2", "slide3", "slide1", "slide2"),
hasExercise = c(TRUE, FALSE, TRUE, TRUE, FALSE)
)
filter_data_for_session(session, whitelistentries, sessionevents, slidetransitions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.