
Infer a starter dictionary from a data frame
infer_dictionary.RdProposes a starter dictionary (column dictionary schema) from raw data by guessing column types, roles, and basic metadata. IRIs and semantic fields are left blank for manual or GPT-assisted completion.
Value
A tibble with dictionary schema columns: dataset_id, table_id,
column_name, column_label, column_description, column_role,
value_type, unit_label, unit_iri, term_iri, term_type, required
Examples
if (FALSE) { # \dontrun{
df <- data.frame(
species = c("Coho", "Chinook"),
count = c(100, 200),
date = as.Date(c("2024-01-01", "2024-01-02"))
)
dict <- infer_dictionary(df)
} # }