bgg_namestyle | R Documentation |
Detects whether the dt
data.table was created by a bggAPI
object with 'pretty'
or 'classic'
names. Ends with the error if
one of them cannot be unequivocally determined. This can be useful when
working on a modified table that is no longer directly connected to any
bggAPI
object.
bgg_namestyle(dt)
dt |
a data.table from |
A single string.
Jakub Bujnowicz bujnowiczgithub@gmail.com
## Not run:
gm <- bggGames$new(ids = 224517)
bgg_namestyle(gm$data)
gm$switch_namestyle("pretty")
bgg_namestyle(gm$data)
# Breaks
# bgg_namestyle(iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.