Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions R/datasets.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
#' @section Dataset Introduced:
#' `v0.2.0.5` (March 31, 2020)
#'
#' @examples
#' dplyr::glimpse(sza)
"sza"

#' Deluxe automobiles from the 2014-2017 period
Expand Down Expand Up @@ -163,6 +165,8 @@
#' @section Dataset Introduced:
#' `v0.2.0.5` (March 31, 2020)
#'
#' @examples
#' dplyr::glimpse(gtcars)
"gtcars"

#' Daily S&P 500 Index data from 1950 to 2015
Expand Down Expand Up @@ -194,6 +198,8 @@
#' @section Dataset Introduced:
#' `v0.2.0.5` (March 31, 2020)
#'
#' @examples
#' dplyr::glimpse(sp500)
"sp500"

#' A year of pizza sales from a pizza place
Expand Down Expand Up @@ -324,6 +330,8 @@
#' @section Dataset Introduced:
#' `v0.2.0.5` (March 31, 2020)
#'
#' @examples
#' dplyr::glimpse(pizzaplace)
"pizzaplace"

#' A toy example tibble for testing with gt: exibble
Expand Down Expand Up @@ -366,6 +374,8 @@
#' @section Dataset Introduced:
#' `v0.2.0.5` (March 31, 2020)
#'
#' @examples
#' exibble
"exibble"

#' Populations of all municipalities in Ontario from 1996 to 2021
Expand Down Expand Up @@ -432,6 +442,8 @@
#' @section Dataset Introduced:
#' `v0.9.0` (Mar 31, 2023)
#'
#' @examples
#' dplyr::glimpse(towny)
"towny"

#' A table of personal information for people all over the world
Expand Down Expand Up @@ -482,6 +494,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(peeps)
"peeps"


Expand Down Expand Up @@ -528,6 +542,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(films)
"films"

#' The stations of the Paris Metro
Expand Down Expand Up @@ -595,6 +611,8 @@
#' @section Dataset Introduced:
#' `v0.9.0` (Mar 31, 2023)
#'
#' @examples
#' dplyr::glimpse(metro)
"metro"

#' Weather conditions in Gibraltar, May 2023
Expand Down Expand Up @@ -633,6 +651,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(gibraltar)
"gibraltar"

#' The fundamental physical constants
Expand Down Expand Up @@ -674,6 +694,8 @@
#' @section Dataset Introduced:
#' `v0.10.0` (October 7, 2023)
#'
#' @examples
#' dplyr::glimpse(constants)
"constants"

#' Lab tests for one suffering from an illness
Expand Down Expand Up @@ -759,6 +781,8 @@
#' @section Dataset Introduced:
#' `v0.10.0` (October 7, 2023)
#'
#' @examples
#' dplyr::glimpse(illness)
"illness"

#' Reaction rates for gas-phase atmospheric reactions of organic compounds
Expand Down Expand Up @@ -855,6 +879,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(reactions)
"reactions"

#' Data on photolysis rates for gas-phase organic compounds
Expand Down Expand Up @@ -906,6 +932,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(photolysis)
"photolysis"

#' Nuclide data
Expand Down Expand Up @@ -959,6 +987,8 @@
#' @section Dataset Introduced:
#' `v0.11.0` (July 9, 2024)
#'
#' @examples
#' dplyr::glimpse(nuclides)
"nuclides"

#' An ADSL-flavored clinical trial toy dataset
Expand Down Expand Up @@ -1021,6 +1051,8 @@
#' @section Dataset Introduced:
#' `v0.9.0` (Mar 31, 2023)
#'
#' @examples
#' dplyr::glimpse(rx_adsl)
"rx_adsl"

#' An ADDV-flavored clinical trial toy dataset
Expand Down Expand Up @@ -1086,4 +1118,6 @@
#' @section Dataset Introduced:
#' `v0.9.0` (Mar 31, 2023)
#'
#' @examples
#' dplyr::glimpse(rx_addv)
"rx_addv"
2 changes: 1 addition & 1 deletion R/tab_options.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
#' elements: `heading.title`, `heading.subtitle`, `column_labels`,
#' `row_group`, `footnotes`, and `source_notes`. Can be specified as a
#' single-length character vector with units of pixels (e.g., `12px`) or as a
#' percentage (e.g., `80\%`). If provided as a single-length numeric vector,
#' percentage (e.g., `80%`). If provided as a single-length numeric vector,
#' it is assumed that the value is given in units of pixels. The [px()] and
#' [pct()] helper functions can also be used to pass in numeric values and
#' obtain values as pixel or percentage units.
Expand Down
3 changes: 3 additions & 0 deletions man/constants.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/exibble.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/films.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/gibraltar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/grp_options.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/gtcars.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/illness.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/metro.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/nuclides.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/peeps.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/photolysis.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/pizzaplace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/reactions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/rx_addv.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/rx_adsl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/sp500.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/sza.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/tab_options.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/towny.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ articles:
- title: Get started
navbar: ~
contents:
- gt
- creating-summary-lines
- title: Case studies
navbar: Case studies
Expand All @@ -401,6 +402,7 @@ articles:
- case-study-clinical-tables

- title: Datasets
navbar: Datasets
contents:
- gt-datasets
- title: Visual tests
Expand Down
Binary file modified pkgdown/assets/gt-latex.pdf
Binary file not shown.
Loading