Creates the var_spec from a list of datasets (optionally filtered by the sheet
input). The named vector
cols is used to determine which is the correct
sheet and renames the columns. (Note: the keep column will be converted logical)
spec_type_to_var_spec( doc, cols = c(variable = "[N|n]ame|[V|v]ariables?", length = "[L|l]ength", label = "[L|l]abel", type = "[T|t]ype", dataset = "[D|d]ataset|[D|d]omain", format = "[F|f]ormat"), sheet = "[V|v]ar" )
Named list of datasets @seealso
Named vector of column names. The column names can be regular expressions for more flexibility. But, the names must follow the given pattern
Regular expression for the sheet name
a dataset formatted for the metacore object
Other spec builder:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.