getYears {brickset} | R Documentation |
Get a list of years for a given theme, with the total number of sets in each.
Description
Get a list of years for a given theme, with the total number of sets in each.
Usage
getYears(theme, key = getOption("brickset_key"), ...)
Arguments
theme |
the theme |
key |
the Brickset API key. |
... |
other parameters passed to |
Value
a data.frame with the years of a given theme.
- theme
Name of the theme
- year
Year
- setCount
Number of sets released in the given year and theme
Examples
## Not run:
options(brickset_key = 'BRICKSET_KEY',
brickset_username = 'BRICKSET_UERNAME',
brickset_password = 'BRICKSET_PASSWORD')
getYears('Architecture')
## End(Not run)
[Package brickset version 2024.0.0 Index]