mergeItemStats: Merge old and new item stat IDs

Description Usage Arguments Value Note Examples

Description

This function merges the old (numerical) and new item IDs in the item stats dataframe. The item dataset must have gone through stats2df beforehand.

Usage

1
mergeItemStats(items = NULL, itemData = NULL)

Arguments

items

The items dataset

itemData

The dataset of descriptive item strings, see strings.items

Value

data.frame of item stats, with only new item IDs

Note

Not related to itemStats, the dataset of per-item stats.

Examples

1
2
3
4
5
## Not run: 
items <- stats2df(fromJSON("http://api.wurstmineberg.de/server/playerstats/item.json"))
items <- mergeItemStats(items, strings.items)

## End(Not run)

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