The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: National Road Safety Observatory (ONSV) Styles for 'gt' Tables
Version: 0.1.0
Description: Wrapper functions for customizing HTML tables from the 'gt' package to the ONSV style.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.2.3
Imports: gt
Date: 2024-05-23
URL: https://github.com/ONSV/onsvtables, https://onsv.github.io/onsvtables/
BugReports: https://github.com/ONSV/onsvtables/issues
NeedsCompilation: no
Packaged: 2024-05-23 19:51:28 UTC; João Saraiva
Author: João Pedro Melani Saraiva [aut, cre], Pedro Augusto Borges Santos ORCID iD [aut], ONSV - National Road Safety Observatory [cph, fnd]
Maintainer: João Pedro Melani Saraiva <jpsaraiva2002@gmail.com>
Repository: CRAN
Date/Publication: 2024-05-25 10:00:02 UTC

Add styles to a {gt} table.

Description

tab_onsv() uses ⁠gt::tab_*()⁠ functions to customize a gt_tbl object.

Usage

tab_onsv(data)

Arguments

data

A gt_tbl object.

Value

A gt_tbl customized with tab_style() and tab_options().

Examples

df <- data.frame(
  var1 = c("lorem", "ipsum", "dolor"),
  var2 = c(1, 2, 3)
)

tbl_onsv <-
  df |>
  gt::gt() |>
  tab_onsv()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.