Description Usage Arguments Value Note Examples
Uses the server sessions pulled by getSessions and creates a data.frame of
player sessions, including the time played per person/session.
| 1 | getPlayerSessions(sessions = NULL, splitByDay = TRUE)
 | 
| sessions | A session object as returned by getSessions | 
| splitByDay | Should the player sessions be split by day, as to avoid overlapping sessions?
Helpful for visualizations of the played time for any given day. Defaults to  | 
data.frame with server- and lists of player sessions
If sessions are split by day, additional columns for date, day of week and month are appended.
| 1 2 3 4 5 | ## Not run: 
sessions       <- getSessions("http://api.wurstmineberg.de/server/sessions/overview.json")
playerSessions <- getPlayerSessions(sessions, splitByDay = FALSE)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.