lcols | R Documentation |
This is the deprecated way of creating a tibblify()
specification. Use the
tspec_*()
+ tib_*()
functions instead.
lcols(..., .default = zap())
... |
Column specification objects created by |
.default |
Deprecated. |
A tibblify specification object.
lcols( id = lcol_int("id"), name = lcol_chr("name"), aliases = lcol_lst_of("aliases", character()) ) # To create multiple columns of the same type use the bang-bang-bang (!!!) # operator together with `purrr::map()` int_cols <- purrr::set_names(c("id", "age")) chr_cols <- purrr::set_names(c("name", "title")) lcols( !!!purrr::map(int_cols, lcol_int), !!!purrr::map(chr_cols, lcol_chr) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.