Description Usage Arguments Value Note Examples
Gets a data.frame
of item stats with item stat IDs, their associated
action, and the total values and leading players of each stat.
1 | getItemStats(items = NULL, itemData = NULL)
|
items |
The items dataset |
itemData |
The dataset of descriptive item strings, defaults to strings.items |
data.frame
of per-item stats
Requires items
to be cleaned up via
mergeItemStats, because legacy item IDs are not recognized
1 2 3 4 5 6 | ## Not run:
items <- stats2df(fromJSON("http://api.wurstmineberg.de/server/playerstats/item.json"))
items <- mergeItemStats(items, strings.items)
itemStats <- getItemStats(items, strings.items)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.