The data contains Lego sets that were available on the Lego website in August 2016.
number
: set ID numbername
: set nameprice
: set price in USDpieces
: number of piecesminifigs
: number of mini figuresminifigsspec
: number of special mini figuresagemin
: minimum age listed on the boxagemax
: maximum age listed on the boxtheme
: the set’s general theme (e.g.,
City
, Star Wars
)type
: the set’s type (e.g., Kids
,
Pop Culture
)rating
: average user rating on a scale of 1 to 5exclusive
: exclusive sets can only be bought from Lego
(0 = no, 1 = yes)rare
: whether or not the set is considered to be rare
(0 = no, 1 = yes)Rows: 427
Columns: 13
$ number <dbl> 75821, 75822, 75823, 75824, 75825, 75826, 21006, 21013, 2…
$ name <chr> "Piggy Car Escape", "Piggy Plane Attack", "Bird Island Eg…
$ price <dbl> 12.99, 19.99, 29.99, 39.99, 59.99, 89.99, 49.99, 29.99, 3…
$ pieces <dbl> 74, 168, 277, 386, 620, 859, 561, 346, 321, 731, 274, 471…
$ minifigs <dbl> 2, 2, 3, 4, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, …
$ minifigsspec <dbl> 1, 2, 3, 2, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
$ agemin <dbl> 6, 6, 6, 7, 7, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,…
$ agemax <dbl> 12, 12, 12, 14, 14, 14, 99, 99, 99, 99, 99, 99, 99, 99, 9…
$ theme <chr> "Angry Birds", "Angry Birds", "Angry Birds", "Angry Birds…
$ type <chr> "Pop Culture", "Pop Culture", "Pop Culture", "Pop Culture…
$ rating <dbl> 3.0, 5.0, 4.0, 4.0, 5.0, 5.0, 4.6, 4.7, 4.7, 4.6, 3.9, 3.…
$ exclusive <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
$ rare <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
# A tibble: 6 × 13
number name price pieces minifigs minifigsspec agemin agemax theme type
<dbl> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <chr> <chr>
1 75821 Piggy Car… 13.0 74 2 1 6 12 Angr… Pop …
2 75822 Piggy Pla… 20.0 168 2 2 6 12 Angr… Pop …
3 75823 Bird Isla… 30.0 277 3 3 6 12 Angr… Pop …
4 75824 Pig City … 40.0 386 4 2 7 14 Angr… Pop …
5 75825 Piggy Pir… 60.0 620 4 4 7 14 Angr… Pop …
6 75826 King Pig'… 90.0 859 5 5 8 14 Angr… Pop …
# … with 3 more variables: rating <dbl>, exclusive <dbl>, rare <dbl>