Description Usage Arguments Value Note Examples
Get the latest deaths from an appropriate API endpoint. Uses acitvePeople for name substitution.
1 2 | getLatestDeaths(url = getOption("url.general.deaths.latest"),
people = activePeople)
|
url |
URL of the appropriate API endpoint, defaults to |
people |
The people dataset to be used for sorting/naming the players, defaults to |
data.frame
containing latest deaths for each player
The API uses a different log than Minecraft stats, tl;dr things are complicated
1 2 3 4 5 | ## Not run:
options(url.general.deaths.latest = "http://api.wurstmineberg.de/server/deaths/latest.json")
deaths <- getLatestDeaths()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.