Skip to content

Class: AggregateTransform

Group and summarize an input data stream to produce a derived output stream using particular summary statistics

operations, e.g. sum, average etc..

URI: vega_scverse:AggregateTransform

classDiagram class AggregateTransform click AggregateTransform href "../AggregateTransform" Transform <|-- AggregateTransform click Transform href "../Transform" AggregateTransform : as_ AggregateTransform : field AggregateTransform : ops AggregateTransform --> "1..*" AggregateOpsEnum : ops click AggregateOpsEnum href "../AggregateOpsEnum" AggregateTransform : type AggregateTransform --> "1" TransformTypeEnum : type click TransformTypeEnum href "../TransformTypeEnum"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
field 1..*
String
The data fields for which to compute aggregate functions direct
ops 1..*
AggregateOpsEnum
The summary statistic to apply per field direct
as_ 1..*
String
The output field names to use for each aggregated field in fields direct
type 1
TransformTypeEnum
The type of transform Transform

Usages

used by used in type used
SpatialDataElementObject transform any_of[range] AggregateTransform

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/scverse/vega-scverse/specification

Mappings

Mapping Type Mapped Value
self vega_scverse:AggregateTransform
native vega_scverse:AggregateTransform

LinkML Source

Direct

name: AggregateTransform
description: 'Group and summarize an input data stream to produce a derived output
  stream using particular summary statistics

  operations, e.g. sum, average etc..'
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: Transform
slot_usage:
  type:
    name: type
    ifabsent: string(aggregate)
    equals_string: aggregate
attributes:
  field:
    name: field
    description: "The data fields for which to compute aggregate functions. This array\
      \ should align with the as \narrays."
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: string
    required: true
    multivalued: true
  ops:
    name: ops
    description: 'The summary statistic to apply per field. This deviates from vega
      where ops has a single string value

      while here it is an array with a length equal to ''field'' and ''as''.'
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    domain_of:
    - AggregateTransform
    range: AggregateOpsEnum
    required: true
    multivalued: true
  as_:
    name: as_
    description: 'The output field names to use for each aggregated field in fields.
      In the initial implementation this is

      the same as the values in ''field''.'
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - NormalizationFormulaTransform
    range: string
    required: true
    multivalued: true

Induced

name: AggregateTransform
description: 'Group and summarize an input data stream to produce a derived output
  stream using particular summary statistics

  operations, e.g. sum, average etc..'
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: Transform
slot_usage:
  type:
    name: type
    ifabsent: string(aggregate)
    equals_string: aggregate
attributes:
  field:
    name: field
    description: "The data fields for which to compute aggregate functions. This array\
      \ should align with the as \narrays."
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    alias: field
    owner: AggregateTransform
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: string
    required: true
    multivalued: true
  ops:
    name: ops
    description: 'The summary statistic to apply per field. This deviates from vega
      where ops has a single string value

      while here it is an array with a length equal to ''field'' and ''as''.'
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    alias: ops
    owner: AggregateTransform
    domain_of:
    - AggregateTransform
    range: AggregateOpsEnum
    required: true
    multivalued: true
  as_:
    name: as_
    description: 'The output field names to use for each aggregated field in fields.
      In the initial implementation this is

      the same as the values in ''field''.'
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    alias: as_
    owner: AggregateTransform
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - NormalizationFormulaTransform
    range: string
    required: true
    multivalued: true
  type:
    name: type
    description: The type of transform.
    from_schema: https://w3id.org/scverse/vega-scverse/data
    rank: 1000
    ifabsent: string(aggregate)
    alias: type
    owner: AggregateTransform
    domain_of:
    - Transform
    - BaseFormat
    - Scale
    - Legend
    - Mark
    - TextMark
    - GroupMark
    range: TransformTypeEnum
    required: true
    equals_string: aggregate