powered by
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.
url
tableSchema
derive_table_schema
create_metadata(tables)
a list describing a tabular metadata annotation
a list of csvw:table annotations
csvw:table
d <- data.frame(foo="bar") table <- list(url="filename.csv", tableSchema=derive_table_schema(d)) create_metadata(tables=list(table))
Run the code above in your browser using DataLab