View source: R/verify_column_groups.R
verify_column_groups | R Documentation |
Verify the integrity of the column groups object
verify_column_groups(column_groups, column_info)
column_groups |
A data frame describing of how to group the columns
in
|
column_info |
A data frame describing which columns in
|
The column groups object with all expected columns.
library(tibble)
column_groups <- tribble(
~group, ~level1,
"foo", "Foo",
"bar", "Bar"
)
column_info <- tribble(
~id, ~geom, ~group,
"name", "text", NA_character_,
"foo1", "funkyrect", "foo",
"foo2", "funkyrect", "foo",
"bar1", "funkyrect", "bar",
"bar2", "funkyrect", "bar"
)
verify_column_groups(column_groups, column_info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.