Skip to content

Commit ae07ddc

Browse files
authored
Merge pull request #39 from jumpingrivers/cran-edits
CRAN-edits
2 parents 29e97d7 + 081c915 commit ae07ddc

20 files changed

+74
-109
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@
1717
^codemeta\.json$
1818
^pkgdown$
1919
^.lintr$
20+
^CRAN-SUBMISSION$
21+
^LICENSE\.md$

.github/CONTRIBUTING.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 0.1.6
2+
Date: 2022-05-03 20:18:55 UTC
3+
SHA: 29e97d78dfa8d28b6db13ef9477d2a8c954d92ed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Description: The Datasaurus Dozen is a set of datasets with the same
2727
Statistics through Simulated Annealing" <doi:10.1145/3025453.3025912>.
2828
License: MIT + file LICENSE
2929
URL: https://github.com/jumpingrivers/datasauRus,
30-
https://jumpingrivers.github.io/datasauRus
30+
https://jumpingrivers.github.io/datasauRus/
3131
BugReports: https://github.com/jumpingrivers/datasauRus/issues
3232
Depends:
3333
R (>= 3.0.0)

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
YEAR: 2017
2-
COPYRIGHT HOLDER: Stephanie Locke
1+
YEAR: 2022
2+
COPYRIGHT HOLDER: datasauRus authors

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2022 datasauRus authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

R/datasaurus-package.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' Varied Appearance and Identical Statistics through Simulated
1616
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
1717
#' Conference on Human Factors in Computing Systems._
18-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
18+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
1919
#' @example inst/examples/box_plots.R
2020
"box_plots"
2121

@@ -57,7 +57,7 @@
5757
#' Varied Appearance and Identical Statistics through Simulated
5858
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
5959
#' Conference on Human Factors in Computing Systems._
60-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
60+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
6161
#' @example inst/examples/datasaurus_dozen_wide.R
6262
"datasaurus_dozen_wide"
6363

@@ -76,7 +76,7 @@
7676
#' Varied Appearance and Identical Statistics through Simulated
7777
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
7878
#' Conference on Human Factors in Computing Systems._
79-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
79+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
8080
#' @example inst/examples/datasaurus_dozen.R
8181
"datasaurus_dozen"
8282

@@ -98,7 +98,7 @@
9898
#' Varied Appearance and Identical Statistics through Simulated
9999
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
100100
#' Conference on Human Factors in Computing Systems._
101-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats).#nolint
101+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs).#nolint
102102
#' @example inst/examples/simpsons_paradox_wide.R
103103
"simpsons_paradox_wide"
104104

@@ -119,7 +119,7 @@
119119
#' Varied Appearance and Identical Statistics through Simulated
120120
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
121121
#' Conference on Human Factors in Computing Systems._
122-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
122+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
123123
#' @example inst/examples/simpsons_paradox.R
124124
"simpsons_paradox"
125125

@@ -138,7 +138,7 @@
138138
#' Varied Appearance and Identical Statistics through Simulated
139139
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
140140
#' Conference on Human Factors in Computing Systems._
141-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
141+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
142142
#' @example inst/examples/twelve_from_slant_alternate_long.R
143143
"twelve_from_slant_alternate_long"
144144

@@ -178,7 +178,7 @@
178178
#' Varied Appearance and Identical Statistics through Simulated
179179
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
180180
#' Conference on Human Factors in Computing Systems._
181-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
181+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
182182
#' @example inst/examples/twelve_from_slant_alternate_wide.R
183183
"twelve_from_slant_alternate_wide"
184184

@@ -197,7 +197,7 @@
197197
#' Varied Appearance and Identical Statistics through Simulated
198198
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
199199
#' Conference on Human Factors in Computing Systems._
200-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
200+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
201201
#' @example inst/examples/twelve_from_slant_long.R
202202
"twelve_from_slant_long"
203203

@@ -237,6 +237,6 @@
237237
#' Varied Appearance and Identical Statistics through Simulated
238238
#' Annealing. _CHI 2017 Conference proceedings: ACM SIGCHI
239239
#' Conference on Human Factors in Computing Systems._
240-
#' Retrieved from [https://www.autodeskresearch.com/publications/samestats](https://www.autodeskresearch.com/publications/samestats). #nolint
240+
#' Retrieved from [https://www.autodesk.com/research/publications/same-stats-different-graphs](https://www.autodesk.com/research/publications/same-stats-different-graphs). #nolint
241241
#' @example inst/examples/twelve_from_slant_wide.R
242242
"twelve_from_slant_wide"

README.Rmd

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,24 @@ knitr::opts_chunk$set(
1515
# datasauRus <img src="man/figures/logo.png" align="right" />
1616

1717
<!-- badges: start -->
18-
[![CRAN version](http://www.r-pkg.org/badges/version/datasauRus)](https://cran.r-project.org/package=datasauRus) [![Downloads](http://cranlogs.r-pkg.org/badges/datasauRus)](http://cran.rstudio.com/web/packages/datasauRus/index.html)
18+
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
19+
[![CRAN status](https://www.r-pkg.org/badges/version/datasauRus)](https://CRAN.R-project.org/package=datasauRus)
1920
[![R-CMD-check](https://github.com/jumpingrivers/datasauRus/workflows/R-CMD-check/badge.svg)](https://github.com/jumpingrivers/datasauRus/actions)
20-
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
21-
<!-- badges: end -->
21+
<!-- badges: end -->
2222

2323
This package wraps the awesome Datasaurus Dozen datasets. The Datasaurus Dozen show us why visualisation is important -- summary statistics can be the same but distributions can be very different. In short, this package gives a fun alternative to [Anscombe's Quartet](https://en.wikipedia.org/wiki/Anscombe%27s_quartet), available in R as `anscombe`.
2424

25-
The original Datasaurus was created by Alberto Cairo in this great [blog post](http://www.thefunctionalart.com/2016/08/download-datasaurus-never-trust-summary.html).
26-
27-
The other Dozen were generated using simulated annealing and the process
25+
The original Datasaurus was created by Alberto Cairo. The other Dozen were generated using simulated annealing and the process
2826
is described in the paper "Same Stats, Different Graphs: Generating
2927
Datasets with Varied Appearance and Identical Statistics through
3028
Simulated Annealing" by Justin
31-
Matejka and George Fitzmaurice ([open access materials including manuscript and code](https://www.autodeskresearch.com/publications/samestats), [official paper](https://doi.org/10.1145/3025453.3025912)).
29+
Matejka and George Fitzmaurice ([open access materials including manuscript and code](https://www.autodesk.com/research/publications/same-stats-different-graphs), [official paper](https://doi.org/10.1145/3025453.3025912)).
3230

3331
In the paper, Justin and George simulate a variety of datasets that the same summary statistics to the Datasaurus but have very different distributions.
3432

3533

3634
```{r, out.width="600px", fig.alt="Sequential dinosaur gif", echo = FALSE}
37-
knitr::include_graphics("man/figures/DinoSequential.gif")
35+
knitr::include_graphics("https://damassets.autodesk.net/content/dam/autodesk/research/publications-assets/gifs/same-stats-different-graphs/DinoSequentialSmaller.gif")
3836
```
3937

4038
## Install
@@ -64,10 +62,7 @@ ggplot(datasaurus_dozen, aes(x = x, y = y, colour = dataset))+
6462
facet_wrap(~dataset, ncol = 3)
6563
```
6664

67-
## Contributing to the package
68-
69-
Want to report a bug or suggest a feature? Great stuff! For more information on how to contribute check out [our contributing guide](.github/CONTRIBUTING.md).
7065

71-
## Code of Conduct
66+
## Code of Conduct
7267

73-
Please note that the datasauRus project is released with a [Contributor Code of Conduct](https://jumpingrivers.github.io/datasauRus/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms
68+
Please note that the datasauRus project is released with a [Contributor Code of Conduct](https://jumpingrivers.github.io/datasauRus/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms

README.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55

66
<!-- badges: start -->
77

8+
[![Lifecycle:
9+
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
810
[![CRAN
9-
version](http://www.r-pkg.org/badges/version/datasauRus)](https://cran.r-project.org/package=datasauRus)
10-
[![Downloads](http://cranlogs.r-pkg.org/badges/datasauRus)](http://cran.rstudio.com/web/packages/datasauRus/index.html)
11+
status](https://www.r-pkg.org/badges/version/datasauRus)](https://CRAN.R-project.org/package=datasauRus)
1112
[![R-CMD-check](https://github.com/jumpingrivers/datasauRus/workflows/R-CMD-check/badge.svg)](https://github.com/jumpingrivers/datasauRus/actions)
12-
[![Project Status: Active – The project has reached a stable, usable
13-
state and is being actively
14-
developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
1513
<!-- badges: end -->
1614

1715
This package wraps the awesome Datasaurus Dozen datasets. The Datasaurus
@@ -21,22 +19,20 @@ gives a fun alternative to [Anscombe’s
2119
Quartet](https://en.wikipedia.org/wiki/Anscombe%27s_quartet), available
2220
in R as `anscombe`.
2321

24-
The original Datasaurus was created by Alberto Cairo in this great [blog
25-
post](http://www.thefunctionalart.com/2016/08/download-datasaurus-never-trust-summary.html).
26-
27-
The other Dozen were generated using simulated annealing and the process
28-
is described in the paper “Same Stats, Different Graphs: Generating
29-
Datasets with Varied Appearance and Identical Statistics through
30-
Simulated Annealing” by Justin Matejka and George Fitzmaurice ([open
31-
access materials including manuscript and
32-
code](https://www.autodeskresearch.com/publications/samestats),
22+
The original Datasaurus was created by Alberto Cairo. The other Dozen
23+
were generated using simulated annealing and the process is described in
24+
the paper “Same Stats, Different Graphs: Generating Datasets with Varied
25+
Appearance and Identical Statistics through Simulated Annealing” by
26+
Justin Matejka and George Fitzmaurice ([open access materials including
27+
manuscript and
28+
code](https://www.autodesk.com/research/publications/same-stats-different-graphs),
3329
[official paper](https://doi.org/10.1145/3025453.3025912)).
3430

3531
In the paper, Justin and George simulate a variety of datasets that the
3632
same summary statistics to the Datasaurus but have very different
3733
distributions.
3834

39-
<img src="man/figures/DinoSequential.gif" title="Sequential dinosaur gif" alt="Sequential dinosaur gif" width="600px" />
35+
<img src="https://damassets.autodesk.net/content/dam/autodesk/research/publications-assets/gifs/same-stats-different-graphs/DinoSequentialSmaller.gif" title="Sequential dinosaur gif" alt="Sequential dinosaur gif" width="600px" />
4036

4137
## Install
4238

@@ -69,12 +65,9 @@ ggplot(datasaurus_dozen, aes(x = x, y = y, colour = dataset))+
6965

7066
![](man/figures/datasets-1.png)<!-- -->
7167

72-
## Contributing to the package
73-
74-
Want to report a bug or suggest a feature? Great stuff! For more
75-
information on how to contribute check out [our contributing
76-
guide](.github/CONTRIBUTING.md).
68+
## Code of Conduct
7769

78-
Please note that this R package is released with a [Contributor Code of
79-
Conduct](CODE_OF_CONDUCT.md). By participating in this package project
80-
you agree to abide by its terms.
70+
Please note that the datasauRus project is released with a [Contributor
71+
Code of
72+
Conduct](https://jumpingrivers.github.io/datasauRus/CODE_OF_CONDUCT.html).
73+
By contributing to this project, you agree to abide by its terms

man/box_plots.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/datasaurus_dozen.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/datasaurus_dozen_wide.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/figures/DinoSequential.gif

-7.96 MB
Binary file not shown.

man/simpsons_paradox.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/simpsons_paradox_wide.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/twelve_from_slant_alternate_long.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)