Skip to content

Commit 39cb017

Browse files
committed
Data doc tweaks
1 parent dd5ab42 commit 39cb017

File tree

9 files changed

+31
-27
lines changed

9 files changed

+31
-27
lines changed

R/data.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"diamonds"
2121

2222

23-
#' US economic time series.
23+
#' US economic time series
2424
#'
2525
#' This dataset was produced from US economic time series data available from
2626
#' \url{http://research.stlouisfed.org/fred2}. \code{economics} is in "wide"
@@ -46,7 +46,7 @@
4646
#' @rdname economics
4747
"economics_long"
4848

49-
#' Midwest demographics.
49+
#' Midwest demographics
5050
#'
5151
#' Demographic information of midwest counties
5252
#'
@@ -108,7 +108,7 @@
108108
#' }
109109
"mpg"
110110

111-
#' An updated and expanded version of the mammals sleep dataset.
111+
#' An updated and expanded version of the mammals sleep dataset
112112
#'
113113
#' This is an updated and expanded version of the mammals sleep dataset.
114114
#' Updated sleep times and weights were taken from V. M. Savage and G. B.
@@ -135,15 +135,15 @@
135135
#' }
136136
"msleep"
137137

138-
#' Terms of 11 presidents from Eisenhower to Obama.
138+
#' Terms of 11 presidents from Eisenhower to Obama
139139
#'
140140
#' The names of each president, the start and end date of their term, and
141141
#' their party of 11 US presidents from Eisenhower to Obama.
142142
#'
143143
#' @format A data frame with 11 rows and 4 variables
144144
"presidential"
145145

146-
#' Vector field of seal movements.
146+
#' Vector field of seal movements
147147
#'
148148
#' This vector field was produced from the data described in Brillinger, D.R.,
149149
#' Preisler, H.K., Ager, A.A. and Kie, J.G. "An exploratory data analysis
@@ -164,7 +164,7 @@
164164
#' @format A data frame with 5,625 observations and 3 variables.
165165
"faithfuld"
166166

167-
#' \code{colors()} in Luv space.
167+
#' \code{colors()} in Luv space
168168
#'
169169
#' All built-in \code{\link{colors}()} translated into Luv colour space.
170170
#'
@@ -175,7 +175,7 @@
175175
#' }
176176
"luv_colours"
177177

178-
#' Housing sales in TX.
178+
#' Housing sales in TX
179179
#'
180180
#' Information about the housing market in Texas provided by the TAMU
181181
#' real estate center, \url{http://recenter.tamu.edu/}.

_pkgdown.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,6 @@ reference:
8686
contents:
8787
- starts_with("coord_")
8888

89-
- title: Data
90-
contents:
91-
- diamonds
92-
- economics
93-
- faithfuld
94-
- midwest
95-
- mpg
96-
- msleep
97-
- presidential
98-
- seals
99-
- txhousing
100-
- luv_colours
101-
10289
- title: Annotations
10390
contents:
10491
- annotate
@@ -174,3 +161,20 @@ reference:
174161
- translate_qplot_ggplot
175162
- translate_qplot_lattice
176163
- qplot
164+
165+
- title: Data
166+
desc: >
167+
ggplot2 comes with a selection of built-in datasets that are used in
168+
examples to illustrate various visualisation challenges.
169+
contents:
170+
- diamonds
171+
- economics
172+
- faithfuld
173+
- midwest
174+
- mpg
175+
- msleep
176+
- presidential
177+
- seals
178+
- txhousing
179+
- luv_colours
180+

man/economics.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/luv_colours.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/midwest.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/msleep.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/presidential.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/seals.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/txhousing.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)