Description Usage Arguments Value Note Examples
Get descriptive strings to complement stats datasets. Useful for human readable output such as plots or tables.
1 | getListElement(list_, level = 1)
|
list_ |
A list of lists of which sublist elements should be extracted |
level |
Which sub-element should be extracted? Defaults to |
vector
of the elements of the specified sublist, unnamed and unlisted.
This is not really necessary.
1 2 3 | itemsJSON <- jsonlite::fromJSON("http://assets.wurstmineberg.de/json/items.json")
itemData <- data.frame(numID = names(itemsJSON))
itemData$ID <- getListElement(itemsJSON, "id")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.