Returns a tibble
containing the class of each column in a given
table. Works for in-memory and database tables.
1 | col_classes(.tbl)
|
1 2 3 4 5 6 | col_classes(day_metrics())
#> # A tibble: 2 x 7
#> id source_name source_id metric_type metric_date value created_at
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 integer integer character integer POSIXct numeric character
#> 2 integer integer character integer POSIXt numeric character
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.