Skip to content

Commit

Permalink
closes #35 and #40
Browse files Browse the repository at this point in the history
  • Loading branch information
osheen1 committed Oct 17, 2022
1 parent 29e97d7 commit 94f3c3a
Show file tree
Hide file tree
Showing 17 changed files with 16,807 additions and 2,488 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: datasauRus
Title: Datasets from the Datasaurus Dozen
Version: 0.1.6
Version: 0.1.7
Authors@R: c(
person("Rhian", "Davies", , "[email protected]", role = c("cre", "aut")),
person("Steph", "Locke", , "[email protected]", role = "aut"),
Expand Down Expand Up @@ -42,4 +42,4 @@ VignetteBuilder:
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# datasauRus 0.1.7

* Adding long boxplots data and csv for datasaurus

# datasauRus 0.1.6

* No functional changes; just code styling and linting
Expand Down
18 changes: 18 additions & 0 deletions R/datasaurus-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@
#' @example inst/examples/box_plots.R
"box_plots"

#' Box plot data
#'
#' This dataset is the box plot data produced by Matjeka &
#' Fitzmaurice to demonstrate applicability of their process.
#'
#' @name box_plots_long
#' @format A data frame with 12420 rows and 2 variables:
#'* **Plot**: either the left, lines, normal, right or split boxplot
#'* **Values**: the corresponding values from each dataset
#' @references Matejka, J., & Fitzmaurice, G. (2017).
#' Same Stats, Different Graphs: Generating Datasets with
#' Varied Appearance and Identical Statistics through Simulated
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
#' Conference on Human Factors in Computing Systems._
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
#' @example inst/examples/box_plots_long.R
"box_plots_long"

#' Datasaurus Dozen (wide) data
#'
#' A dataset demonstrating the utility of visualization.
Expand Down
Binary file added data/box_plots_long.rda
Binary file not shown.
Loading

0 comments on commit 94f3c3a

Please sign in to comment.