Description Usage Arguments Value Examples
This function returns how many times the cards are used in each decks that are retrived from the topdeckcodes function in hstone package.
(You must first run hstopdeckcodes function in hstone package to use this function)
1 | hscardused(id, secret, used = "")
|
id |
A client Id you obtained from Blizzard api. |
secret |
A client Secret you obtained from Blizzard api. |
used |
Put either "high", "medium", or "low" in order to retrieve cards with high usage (4 and more times used), medium usage (2 to 3), and low usage (1 or less). |
The data frame with cards and how many times they are used in top tier decks.
1 2 | hscardused(id = Sys.getenv("id"), secret = Sys.getenv("secret"), used = "high")
hscardused(id = Sys.getenv("id"), secret = Sys.getenv("secret"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.