Skip to content

Commit 706bda2

Browse files
committed
Updated site generation
1 parent 3c277ae commit 706bda2

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

R/data.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#' \item{treatment}{Whether a cloud was seeded with silver iodide or not.}
1818
#' \item{rainfall}{Volume of rainfall during the next 24 hours, in acre-feet.}
1919
#' }
20+
#' @keywords datasets
2021
#' @source <https://doi.org/10.2307/1268346>
2122
"CloudSeeding"
2223

@@ -37,6 +38,7 @@
3738
#' \describe{
3839
#' \item{lead}{Lead concentration per household, measured in parts per billion.}
3940
#' }
41+
#' @keywords datasets
4042
"FlintMDEQ"
4143

4244
#' Infant Data
@@ -59,6 +61,7 @@
5961
#' \describe{
6062
#' \item{choice}{Whether a baby selected the "helper" or "hinderer" toy.}
6163
#' }
64+
#' @keywords datasets
6265
#' @source <https://pubmed.ncbi.nlm.nih.gov/18033298/>
6366
"Infant"
6467

@@ -75,6 +78,7 @@
7578
#' \item{Species}{What species this Elephant was.}
7679
#' \item{Distance}{How many kilometers they walked per day.}
7780
#' }
81+
#' @keywords datasets
7882
#' @source <https://pmc.ncbi.nlm.nih.gov/articles/PMC4944962/>
7983
"elephants"
8084

@@ -100,6 +104,7 @@
100104
#' \item{sleepcondition}{The sleep condition the subject was in.}
101105
#' \item{improvement}{The subject's improvement in reaction times, measured in milliseconds.}
102106
#' }
107+
#' @keywords datasets
103108
#' @source <https://www.nature.com/articles/nn1200_1237>
104109
"SleepDeprivation"
105110

@@ -115,4 +120,5 @@
115120
#' \item{stores}{The number of Walmart stores open in that year.}
116121
#' \item{supercenters}{The number of Walmart superstores open in that year.}
117122
#' }
123+
#' @keywords datasets
118124
"walmart"

_pkgdown.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ reference:
4141
desc: "Datasets included in the package."
4242
# TODO: cleaner way of doing this--keyword("datasets") or something??
4343
contents:
44-
- CloudSeeding
45-
- elephants
46-
- FlintMDEQ
47-
- Infant
48-
- SleepDeprivation
44+
- has_keyword("datasets")
4945

5046
# articles:
5147
# - title: "Getting Started"

0 commit comments

Comments
 (0)