Get sheet definitions
Arguments
- model
A checked
form_modelfromread_form_model()oras_form_model().
Details
Table layouts include column_count derived from the ordered fields.
An optional primary_key preserves the declared sequence of local field names.
Key components must be filled and their combination must identify one row;
this package checks the declaration, not submitted values.
Use form_definition() for the original declarations.
Examples
model <- read_form_model("examples/survey-form.yaml", "form.model")
names(form_sheets(model))
#> [1] "Metadata" "Observations" "Samples" "Measurements" "Equipment"