Learn R Programming

brickset (version 2025.0.0)

getSubthemes: Returns a table of sub-themes for a given theme with number of sets and years active.

Description

Brickset API documentation is available here: https://brickset.com/article/52664/api-version-3-documentation/

Usage

getSubthemes(theme, key = getOption("brickset_key"), ...)

Value

a data.frame with the subthemes.

Arguments

theme

the theme.

key

the Brickset API 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').