Skip to contents

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 from getOption('brickset_username') and getOption('brickset_password').

Value

a data.frame with all sets from the given year.

setID

integer; 19409 unique values

number

character; 17997 unique values

numberVariant

integer; 25 unique values

name

character; 16206 unique values

year

integer; 54 unique values

theme

character; 158 unique values

themeGroup

character; 17 unique values

subtheme

character; 957 unique values

category

character; 7 unique values

released

logical; 2 unique values

pieces

integer; 1461 unique values

minifigs

integer; 34 unique values

bricksetURL

character; 19409 unique values

rating

numeric; 30 unique values

reviewCount

integer; 63 unique values

packagingType

character; 19 unique values

availability

character; 10 unique values

agerange_min

integer; 17 unique values

thumbnailURL

character; 18355 unique values

imageURL

character; 18355 unique values

US_retailPrice

numeric; 154 unique values

US_dateFirstAvailable

Date; 979 unique values

US_dateLastAvailable

Date; 2197 unique values

UK_retailPrice

numeric; 226 unique values

UK_dateFirstAvailable

Date; 927 unique values

UK_dateLastAvailable

Date; 2068 unique values

CA_retailPrice

numeric; 177 unique values

CA_dateFirstAvailable

Date; 745 unique values

CA_dateLastAvailable

Date; 1880 unique values

DE_retailPrice

numeric; 173 unique values

DE_dateFirstAvailable

Date; 514 unique values

DE_dateLastAvailable

Date; 1252 unique values

height

numeric; 248 unique values

width

numeric; 290 unique values

depth

numeric; 282 unique values

weight

numeric; 1107 unique values