-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 2e7f757 🚀
- Loading branch information
1 parent
b8d96b3
commit 0d5633e
Showing
8 changed files
with
1,097 additions
and
815 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,11 +270,11 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3> | |
num_suffix = FALSE, | ||
num_mark_big = "", | ||
num_mark_dec = getOption("OutDec", default = "."), | ||
sprintf = NULL, | ||
url = FALSE, | ||
date = "%Y-%m-%d", | ||
bool = function(column) tools::toTitleCase(tolower(column)), | ||
other = identity | ||
other = as.character, | ||
markdown = FALSE, | ||
sprintf = NULL | ||
) | ||
</code></pre> | ||
</section> | ||
|
@@ -348,42 +348,42 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3> | |
</tr> | ||
<tr> | ||
<td style="white-space: nowrap; font-family: monospace; vertical-align: top"> | ||
<code id="format_tt_:_sprintf">sprintf</code> | ||
<code id="format_tt_:_date">date</code> | ||
</td> | ||
<td> | ||
String passed to the <code>?sprintf</code> function to format numbers or interpolate strings with a user-defined pattern (similar to the <code>glue</code> package, but using Base R). | ||
A string passed to the <code>format()</code> function, such as "%Y-%m-%d". See the "Details" section in <code>?strptime</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap; font-family: monospace; vertical-align: top"> | ||
<code id="format_tt_:_url">url</code> | ||
<code id="format_tt_:_bool">bool</code> | ||
</td> | ||
<td> | ||
Logical; if TRUE, treats the column as a URL. | ||
A function to format logical columns. Defaults to title case. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap; font-family: monospace; vertical-align: top"> | ||
<code id="format_tt_:_date">date</code> | ||
<code id="format_tt_:_other">other</code> | ||
</td> | ||
<td> | ||
A string passed to the <code>format()</code> function, such as "%Y-%m-%d". See the "Details" section in <code>?strptime</code> | ||
A function to format columns of other types. Defaults to <code>as.character()</code>. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap; font-family: monospace; vertical-align: top"> | ||
<code id="format_tt_:_bool">bool</code> | ||
<code id="format_tt_:_markdown">markdown</code> | ||
</td> | ||
<td> | ||
A function to format logical columns. Defaults to title case. | ||
Logical; if TRUE, render markdown syntax in cells. Ex: <code style="white-space: pre;"><em>italicized text</em></code> is properly italicized in HTML and LaTeX. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap; font-family: monospace; vertical-align: top"> | ||
<code id="format_tt_:_other">other</code> | ||
<code id="format_tt_:_sprintf">sprintf</code> | ||
</td> | ||
<td> | ||
A function to format columns of other types. Defaults to identity (no formatting). | ||
String passed to the <code>?sprintf</code> function to format numbers or interpolate strings with a user-defined pattern (similar to the <code>glue</code> package, but using Base R). | ||
</td> | ||
</tr> | ||
|
||
|
@@ -413,7 +413,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>tinytable_4jnwouda9otcsbw5oret</title> | ||
<title>tinytable_ya2ir0pobmed37kuepdg</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<style> | ||
</style> | ||
|
@@ -433,7 +433,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
|
||
<div class="container"> | ||
<table class="table" id="tinytable_4jnwouda9otcsbw5oret" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<table class="table" id="tinytable_ya2ir0pobmed37kuepdg" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<thead> | ||
|
||
<tr> | ||
|
@@ -444,29 +444,29 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<tbody> | ||
<tr> | ||
<td>10 001</td> | ||
<td> 9 998</td> | ||
<td>10 002</td> | ||
</tr> | ||
<tr> | ||
<td>10 001</td> | ||
<td>10 002</td> | ||
<td> 9 999</td> | ||
</tr> | ||
<tr> | ||
<td> 9 999</td> | ||
<td>10 001</td> | ||
<td>10 000</td> | ||
<td>10 000</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script> | ||
function styleCell_4jnwouda9otcsbw5oret(i, j, css_id) { | ||
var table = document.getElementById("tinytable_4jnwouda9otcsbw5oret"); | ||
function styleCell_ya2ir0pobmed37kuepdg(i, j, css_id) { | ||
var table = document.getElementById("tinytable_ya2ir0pobmed37kuepdg"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('tinytable_4jnwouda9otcsbw5oret'); | ||
var table = document.getElementById('tinytable_ya2ir0pobmed37kuepdg'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -343,7 +343,7 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3> | |
<p>LaTeX: "default", "striped", "void", or "grid".</p> | ||
</li> | ||
<li> | ||
<p>HTML: "default", "striped", "void", "grid", or a (composite) Bootstrap class such as <code>“table table-dark”</code> or <code>“table table-dark table-hover”</code>. See</p> | ||
<p>HTML: "default", "striped", "void", "grid", or a (composite)</p> | ||
</li> | ||
</ul> | ||
</td> | ||
|
@@ -395,7 +395,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>tinytable_vc63vj96acsgyxgjmkvo</title> | ||
<title>tinytable_v8y1fgnq2tfh9we5w5t6</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<style> | ||
</style> | ||
|
@@ -415,7 +415,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
|
||
<div class="container"> | ||
<table class="table" id="tinytable_vc63vj96acsgyxgjmkvo" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<table class="table" id="tinytable_v8y1fgnq2tfh9we5w5t6" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<thead> | ||
|
||
<tr> | ||
|
@@ -462,12 +462,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script> | ||
function styleCell_vc63vj96acsgyxgjmkvo(i, j, css_id) { | ||
var table = document.getElementById("tinytable_vc63vj96acsgyxgjmkvo"); | ||
function styleCell_v8y1fgnq2tfh9we5w5t6(i, j, css_id) { | ||
var table = document.getElementById("tinytable_v8y1fgnq2tfh9we5w5t6"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('tinytable_vc63vj96acsgyxgjmkvo'); | ||
var table = document.getElementById('tinytable_v8y1fgnq2tfh9we5w5t6'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
|
@@ -493,7 +493,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>tinytable_h3aanfhtjt23u7af4c0u</title> | ||
<title>tinytable_3auh6zccitqq75mwyr7n</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<style> | ||
</style> | ||
|
@@ -513,7 +513,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
|
||
<div class="container"> | ||
<table class="table table-striped" id="tinytable_h3aanfhtjt23u7af4c0u" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<table class="table" id="tinytable_3auh6zccitqq75mwyr7n" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true"> | ||
<thead> | ||
</thead><caption>Data about cars.</caption> | ||
<tbody><tr> | ||
|
@@ -560,12 +560,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script> | ||
function styleCell_h3aanfhtjt23u7af4c0u(i, j, css_id) { | ||
var table = document.getElementById("tinytable_h3aanfhtjt23u7af4c0u"); | ||
function styleCell_3auh6zccitqq75mwyr7n(i, j, css_id) { | ||
var table = document.getElementById("tinytable_3auh6zccitqq75mwyr7n"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('tinytable_h3aanfhtjt23u7af4c0u'); | ||
var table = document.getElementById('tinytable_3auh6zccitqq75mwyr7n'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
|
Oops, something went wrong.