-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The linkml-map schema has a PivotOperation
linkml-map/src/linkml_map/datamodel/transformer_model.yaml
Lines 396 to 425 in 55168cf
| PivotOperation: | |
| aliases: | |
| - melt/unmelt | |
| - reification/dereification | |
| is_a: TransformationOperation | |
| attributes: | |
| direction: | |
| range: PivotDirectionType | |
| required: true | |
| variable_slot: | |
| aliases: | |
| - var_name | |
| range: SlotReference | |
| ifabsent: string(variable) | |
| description: Slot to use for the variable column in the melted/long representation. | |
| In EAV this is the name of the 'A' variable | |
| value_slot: | |
| aliases: | |
| - value_name | |
| range: SlotReference | |
| ifabsent: string(value) | |
| description: Slot to use for the value column in the melted/long representation. | |
| In EAV this is the name of the 'V' variable | |
| unmelt_to_class: | |
| description: In an unmelt operation, attributes (which are values in the long/melted/EAV | |
| representation) must conform to valid attributes in this class | |
| range: ClassReference | |
| unmelt_to_slots: | |
| range: SlotReference | |
| multivalued: true |
This is not yet implemented.
We should also have a special case of this for pivoting from
| att | val | unit |
|---|---|---|
| len | 1.0 | m |
to
| len_m |
|---|
| 1.0 |
See also:
Metadata
Metadata
Assignees
Labels
No labels