View source: R/verify_column_info.R
verify_column_info | R Documentation |
Verify the integrity of the column info object
verify_column_info(column_info, data)
column_info |
A data frame describing which columns in
|
data |
A data frame with items by row and features in the columns.
Must contain one column named |
The column info object with all expected columns.
library(tibble)
data <- tribble(
~id, ~name, ~x, ~y,
"foo", "Foo", 0.5, 0.7,
"bar", "Bar", 1.0, 0.1
)
column_info <- tribble(
~id, ~geom,
"name", "text",
"x", "funkyrect",
"y", "funkyrect"
)
verify_column_info(column_info, data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.