Brickset API documentation is available here: https://brickset.com/article/52664/api-version-3-documentation/
Usage
getSets(year, key = getOption("brickset_key"), ...)
Arguments
- year
the year of data to download.
- key
the Brickset key.
- ...
other parameters passed to
getUserHash
including the Brickset username and password if they are not available fromgetOption('brickset_username')
andgetOption('brickset_password')
.
Value
a data.frame with all sets from the given year.
- setID
integer; 20420 unique values
- number
character; 18958 unique values
- numberVariant
integer; 25 unique values
- name
character; 17057 unique values
- year
integer; 55 unique values
- theme
character; 163 unique values
- themeGroup
character; 17 unique values
- subtheme
character; 1000 unique values
- category
character; 7 unique values
- released
logical; 2 unique values
- pieces
integer; 1543 unique values
- minifigs
integer; 34 unique values
- bricksetURL
character; 20420 unique values
- rating
numeric; 29 unique values
- reviewCount
integer; 64 unique values
- packagingType
character; 19 unique values
- availability
character; 11 unique values
- agerange_min
integer; 18 unique values
- thumbnailURL
character; 19365 unique values
- imageURL
character; 19365 unique values
- US_retailPrice
numeric; 173 unique values
- US_dateFirstAvailable
Date; 1090 unique values
- US_dateLastAvailable
Date; 2324 unique values
- UK_retailPrice
numeric; 224 unique values
- UK_dateFirstAvailable
Date; 1019 unique values
- UK_dateLastAvailable
Date; 2224 unique values
- CA_retailPrice
numeric; 188 unique values
- CA_dateFirstAvailable
Date; 851 unique values
- CA_dateLastAvailable
Date; 2005 unique values
- DE_retailPrice
numeric; 179 unique values
- DE_dateFirstAvailable
Date; 607 unique values
- DE_dateLastAvailable
Date; 1402 unique values
- height
numeric; 264 unique values
- width
numeric; 317 unique values
- depth
numeric; 307 unique values
- weight
numeric; 1192 unique values