The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Terminology
These terms describe form models, reference catalogues and catalogue
mappings.
Main concepts
| Form |
An Excel workbook used to collect data. |
| Form model |
A versioned YAML definition of a form’s sheets, fields, layout and
constraints. |
| Consumer |
A package, tool or application using a form model to import, export,
validate or transform forms. |
Reference preparation
| Reference source |
The location, cache and credentials used to retrieve a
catalogue. |
| Lookup index |
Prepared data and matching settings used to find reference
rows. |
| Alias |
An alternative value that resolves to a canonical reference
value. |
| Reference cache |
Local files retained after catalogue and checksum verification. |
| Reference snapshot |
Reference data and lookup settings retained for reuse. |
| Checksum |
A content fingerprint used to verify a file against its
catalogue. |
Catalogue mapping
| Mapping |
A correspondence between source and target reference tables. |
| Mapping configuration |
The versioned YAML declaring the two catalogues and their
mappings. |
| Source catalogue |
The catalogue whose reference values are being translated. |
| Target catalogue |
The catalogue in which the required reference values are
resolved. |
| Correspondence |
The link from a source value to a value submitted to the target
lookup. |
| Correspondence file |
A CSV containing explicit source_value and
target_value pairs. |
| DIRECT mapping |
A target lookup using the input or its CSV correspondence, without a
source lookup. |
| REBOUND mapping |
A source lookup that reads another property and submits it to the
target lookup. |
| Mapping alternative |
One selectable correspondence for a target table; alternatives are
not fallbacks. |
| Mapping references |
Loaded catalogue data, lookup indexes and CSV correspondences used
for resolution. |
| Mapping result |
One row per input, containing its target value, status and
resolution stage. |
| Unresolved result |
A missing input, missing source record or property, absent match, or
ambiguity. |
| Provenance |
The selected mapping, configuration checksum, catalogue revisions
and CSV checksum. |
Mappings are keyed by the target table; values are translated from
source to target.
Catalogue aliases belong to individual lookups; correspondences
belong to the mapping between catalogues.
DIRECT and REBOUND describe the resolution behaviour; the YAML has no
mode field.
See the mapping guide for the
configuration and runnable survey examples.
R object classes
The package uses these classes for checked form models, references
and mappings.
form_model |
Checked form model and its original definition. |
form_model_check |
Diagnostics from checking a form model definition. |
reference_configuration |
Catalogue sources and declared lookup policies. |
reference_source |
Retrieval settings, authentication and cache location. |
reference_index |
Reference rows and reusable matching indexes. |
mapping_configuration |
Validated correspondences between two catalogues. |
mapping_references |
Prepared catalogue indexes, correspondences and provenance. |
reference_env |
Internal marker for a YAML !env value, consumed on
read. |
See read_form_model() and
check_form_model() for form model classes. Reference and
mapping classes have help pages named
<class>-class.
# Open the help page for prepared mapping reference objects.
help("mapping_references-class", package = "form.model")
map_reference_values() returns a data frame with
provenance.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.