getPlayedPerX: Summarizing playerSessions by X

Description Usage Arguments Value Note See Also Examples

Description

Summarize playerSessions for easier display. Either by person and day, day only (without player subsets), weekday, or month.

Usage

1
getPlayedPerX(playerSessions = NULL, people = NULL, sumBy = "person")

Arguments

playerSessions

The sessions dataset summarized by person.

people

The dataset containing the people information, defaults to using activePeople

sumBy

What to summarize by? Either person (default), day, weekday, or month

Value

data.frame containing latest deaths for each player

Note

The API uses a different log than Minecraft stats, tl;dr things are complicated

See Also

getPlayerSessions, getSessions

Examples

1
2
3
4
5
6
## Not run: 
sessions        <- getSessions()
playerSessions  <- getPlayerSessions(sessions, splitByDay = TRUE)
playedPerMonth  <- getPlayedPerX(playerSessions, sumBy = "month")

## End(Not run)

jemus42/wurstmineR documentation built on May 19, 2019, 4:03 a.m.