| bgg_variables {bggAnalytics} | R Documentation |
All variables that are available for fetching through bggAPI objects
Description
Contains names and specification of variables that can be used in
fetch and expand methods of classes that inherit from
bggAPI.
Usage
bgg_variables
Format
A data.table with the following columns:
Classa character vector, names of class that is able to fetch given variable.
PrettyName, ClassicNamea character vector, names of variables in the two available styles,
"pretty"and"classic".Scalara logical vector, whether the variable is scalar, i.e. does the length of a fetched variable vector is equal to the length of object's
idsfield. Every scalar variable may be used in theexpandmethods.Statsa logical vector, whether the object needs the parameter
stats = TRUEto fetch this variable.Compressiona character vector, names of functions that are used to compress variables to scalar variables when using
fetch(., compress = TRUE)orexpandfor non-scalar variables."NULL"means that a variable is non-compressible.
Details
A variable can be used by the object's extend method if it's
Scalar value is TRUE or Compression is not equal to
"NULL".