Skip to content

DataPackageResource

Defined in: chat/src/types/dataPackage.ts:3

optional encoding?: string

Defined in: chat/src/types/dataPackage.ts:40


optional format?: string

Defined in: chat/src/types/dataPackage.ts:41


optional mediatype?: string

Defined in: chat/src/types/dataPackage.ts:42


name: string

Defined in: chat/src/types/dataPackage.ts:4


path: string

Defined in: chat/src/types/dataPackage.ts:8


schema: object

Defined in: chat/src/types/dataPackage.ts:9

fields: object[]

optional foreignKeys?: object[]

optional primaryKey?: string[]


optional scheme?: string

Defined in: chat/src/types/dataPackage.ts:43


optional title?: string

Defined in: chat/src/types/dataPackage.ts:7

Friendly label for the entity, e.g. donors → “Donors”. Frictionless’s standard title; falls back to a humanized name when absent.


optional type?: string

Defined in: chat/src/types/dataPackage.ts:44


optional udi:column_count?: number

Defined in: chat/src/types/dataPackage.ts:45


optional udi:cube?: boolean

Defined in: chat/src/types/dataPackage.ts:50

True when this resource is a pre-aggregated powerset cube: one row per dimension-subset combination, non-participating dimensions null, the measure pre-aggregated over the matching line-item rows.


optional udi:dimensions?: string[]

Defined in: chat/src/types/dataPackage.ts:52

The cube’s dimension columns.


optional udi:hide_count?: boolean

Defined in: chat/src/types/dataPackage.ts:64

Keeps the table’s row count out of the UI: no count chip in the dashboard header and no count in the data overview. Its data still downloads.


optional udi:linked_dimensions?: Record<string, DimensionLink>

Defined in: chat/src/types/dataPackage.ts:61

Cube dimension → the line-level column it was aggregated from. A filter on either is carried to the other, since a cube has no key to join on.


optional udi:measure_aggregations?: Record<string, string>

Defined in: chat/src/types/dataPackage.ts:58

How each measure re-aggregates when a marginal is contracted (rolled up across a dimension). Omitted measures are assumed additive; see getCubeMeasureOp for the fallback.


optional udi:measures?: string[]

Defined in: chat/src/types/dataPackage.ts:54

The cube’s measure columns.


optional udi:row_count?: number

Defined in: chat/src/types/dataPackage.ts:46