| bggCollection {bggAnalytics} | R Documentation |
API for user collections
Description
Access the data of a given user's collection. See
bggAPI for more details on inherited slots and methods.
Super class
bggAnalytics::bggAPI -> bggCollection
Active bindings
usernameA single string, name of a user whose collection should be fetched.
Methods
Public methods
Inherited methods
Method new()
Object initialization.
Usage
bggCollection$new(username = NULL, params = NULL)
Arguments
usernamea single string with a BoardGameGeek name of a user whose collection is to be fetched.
paramsa list of object parameters. If not all the parameters are included in the list, default values are used (
NULLinstead of the list is possible for all the default parameters).
Following parameters are allowed for thebggGamesclass with default values in parentheses:pretty_names- (FALSE) a boolean value, should the object should use pretty names,stats- (TRUE) a boolean value, should the ranking and rating stats be included for every item. Note that some variables require thatstatsisTRUE.brief- (FALSE) a boolean value, should the results be abbreviated.own, rated, played, comment, trade, want, wishlist- (NULL) a boolean value,FALSEexcludes items with a given status whileTRUEincludes only them.NULLreturns items regardless of the status.wishlistpriority- (NULL) a positive integer between 1 and 5, returns only items with a given wishlist priority.NULLreturns items regardless of the priority.minrating, rating- (NULL) a positive integer between 1 and 10, returns only items with a given minimum rating (minrating) or maximum rating (rating).NULLreturns items regardless of the rating.
Method print()
Print object information.
Usage
bggCollection$print()
Method clone()
The objects of this class are cloneable with this method.
Usage
bggCollection$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.