schema.field.mapping.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/schema > Field > mapping
Field.mapping property
This provides a mapping between cell values and some other value. Most commonly this is the core "data dictionary", whereby cell values are stored as numeric categories, and the dictionary defines textual descriptions of the actual meaning. If numeric, the keys are usually categorical ordinal or nominal. String keys are often commonly used (for example, medical data often use short alphanumeric codes to represent diagnostic strings).
Signature:
mapping?: Record<any, any>;