create_metadata {csvwr} | R Documentation |
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.
create_metadata(tables)
tables |
a list of |
a list describing a tabular metadata annotation
d <- data.frame(foo="bar")
table <- list(url="filename.csv", tableSchema=derive_table_schema(d))
create_metadata(tables=list(table))