Description Usage Arguments Value
date_tbl()
is a subclass of tibble
that stores a date
attribute as
metadata. This is useful, for example, in tracking the report date of a
dataset.
as_date_tbl()
converts an object to a date_tbl
is_date_tbl()
tests whether an object is a date_tbl
new_date_tbl()
constructs a date_tbl
from a tibble
-like object and a
date with minimal checking
validate_date_tbl()
validates the properties of a date_tbl
1 2 3 4 5 6 7 8 9 10 11 12 13 | as_date_tbl(
x,
date,
.rows = NULL,
.name_repair = c("check_unique", "unique", "universal", "minimal"),
rownames = pkgconfig::get_config("tibble::rownames", NULL)
)
is_date_tbl(x)
new_date_tbl(x, date, nrow = vctrs::vec_size(x))
validate_date_tbl(x)
|
x |
A |
date |
A |
.rows |
The number of rows, useful to create a 0-column tibble or just as an additional check. |
.name_repair |
Treatment of problematic column names:
This argument is passed on as |
rownames |
How to treat existing row names of a data frame or matrix:
|
nrow |
The number of rows, required. |
A date_tbl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.