Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e8cb97f
Showing
12 changed files
with
5,837 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^data-raw$ | ||
^scratch\.R$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
scratch.R | ||
.Rproj.user | ||
.Rhistory | ||
.RData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Package: lego | ||
Type: Package | ||
Title: Lego set data 1970-2014 | ||
Version: 0.1 | ||
Date: 2014-08-21 | ||
Authors@R: 'Sean Kross <smk240@gmail.com> [aut,cre]' | ||
Description: Data for every lego set produced from 1970 to 2014 including number | ||
of pieces per set, number of minifigures per set, and region specific MSRP. | ||
Depends: | ||
R (>= 3.1.0) | ||
License: CC0 | ||
LazyData: true | ||
Suggests: | ||
dplyr | ||
URL: http://github.com/seankross/lego |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Generated by roxygen2 (4.0.1): do not edit by hand | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#' Lego set data | ||
#' | ||
#' Data about every lego set from 1970 to 2014. | ||
#' | ||
#' @source \url{http://brickset.com/}, downloaded 2014-08-06 | ||
#' @format A data frame with columns: | ||
#' \describe{ | ||
#' \item{Item_Number}{Item number for each lego set} | ||
#' \item{Name}{Name of set} | ||
#' \item{Year}{Year set was manufactured} | ||
#' \item{Theme}{Theme of set} | ||
#' \item{Subtheme}{Subtheme of set. Sets with no subtheme have an empty string | ||
#' \code{""} for subtheme.} | ||
#' \item{Pieces}{Number of pieces in set. Sets with \code{NA} pieces have an | ||
#' unknown number of pieces.} | ||
#' \item{Minifigures}{Number of minifigures in set. The vast majority of sets | ||
#' with \code{NA} minifigures contain zero minifigures, however there | ||
#' are a few exceptions.} | ||
#' \item{Image_URL}{URL to an image of the set} | ||
#' \item{GBP_MSRP}{Price of set in British Pounds (\code{NA} if price unavailable)} | ||
#' \item{USD_MSRP}{Price of set in US Dollars (\code{NA} if price unavailable)} | ||
#' \item{CAD_MSRP}{Price of set in Canadian Dollars (\code{NA} if price unavailable)} | ||
#' \item{EUR_MSRP}{Price of set in Euros (\code{NA} if price unavailable)} | ||
#' \item{Packaging}{Type of packaging for set} | ||
#' \item{Availability}{Availability of set} | ||
#' } | ||
#' @examples | ||
#' legosets | ||
"legosets" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# lego | ||
|
||
This R data package contains information about every Lego set manufactured from 1970 to 2014, a total of 5710 sets. A few of the variables included for each set are: | ||
|
||
- Item number | ||
- Name | ||
- Year manufactured | ||
- Theme | ||
- Number of pieces | ||
- Number of minifigures included | ||
- Price |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
load("/Users/sean/Developer/GitHub/lego/data/legosets.rda") |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("/Users/sean/Developer/GitHub/lego/data/legosets.rda") | ||
lego |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
% Generated by roxygen2 (4.0.1): do not edit by hand | ||
\docType{data} | ||
\name{legosets} | ||
\alias{legosets} | ||
\title{Lego set data} | ||
\format{A data frame with columns: | ||
\describe{ | ||
\item{Item_Number}{Item number for each lego set} | ||
\item{Name}{Name of set} | ||
\item{Year}{Year set was manufactured} | ||
\item{Theme}{Theme of set} | ||
\item{Subtheme}{Subtheme of set. Sets with no subtheme have an empty string | ||
\code{""} for subtheme.} | ||
\item{Pieces}{Number of pieces in set. Sets with \code{NA} pieces have an | ||
unknown number of pieces.} | ||
\item{Minifigures}{Number of minifigures in set. The vast majority of sets | ||
with \code{NA} minifigures contain zero minifigures, however there | ||
are a few exceptions.} | ||
\item{Image_URL}{URL to an image of the set} | ||
\item{GBP_MSRP}{Price of set in British Pounds (\code{NA} if price unavailable)} | ||
\item{USD_MSRP}{Price of set in US Dollars (\code{NA} if price unavailable)} | ||
\item{CAD_MSRP}{Price of set in Canadian Dollars (\code{NA} if price unavailable)} | ||
\item{EUR_MSRP}{Price of set in Euros (\code{NA} if price unavailable)} | ||
\item{Packaging}{Type of packaging for set} | ||
\item{Availability}{Availability of set} | ||
}} | ||
\source{ | ||
\url{http://brickset.com/}, downloaded 2014-08-06 | ||
} | ||
\usage{ | ||
legosets | ||
} | ||
\description{ | ||
Data about every lego set from 1970 to 2014. | ||
} | ||
\examples{ | ||
legosets | ||
} | ||
\keyword{datasets} | ||
|