atorus-research / metacore

https://atorus-research.github.io/metacore/
Other
33 stars 7 forks source link

Error without explicit message: spec_type_to_value_spec() #78

Open cpiraux opened 1 year ago

cpiraux commented 1 year ago

Error without explanation. I was not able to create value_spec:

value_spec <- spec_type_to_value_spec ( doc, cols = c(dataset = "[D|d]ataset|[D|d]omain", variable = "Variable", origin = "[O|o]rigin", type = "[T|t]ype", code_id = "[C|c]odelist|Controlled Term", sig_dig = "[S|s]ignificant", where = "[W|w]here", derivation_id = "[M|m]ethod", predecessor = "[P|p]redecessor"), sheet = NULL, where_sep_sheet = TRUE, where_cols = c(id = "ID", where = c("Variable", "Comparator", "Value")), var_sheet = "Variables" )

image