create_metadata {csvwr} | R Documentation |
Create tabular metadata from a list of tables
Description
The table annotations should each be a list with keys for url
and tableSchema
.
You can use derive_table_schema
to derive a schema from a data frame.
Usage
create_metadata(tables)
Arguments
tables |
a list of |
Value
a list describing a tabular metadata annotation
Examples
d <- data.frame(foo="bar")
table <- list(url="filename.csv", tableSchema=derive_table_schema(d))
create_metadata(tables=list(table))
[Package csvwr version 0.1.7 Index]