MetricaFrame
Defined in: packages/data-providers/src/metrica/types.ts:131
One tracking frame, at 25 frames per second, with both teams merged.
Metrica ship each team in its own file. The two are row-aligned (every frame appears in both, in the same order) and both carry the same ball columns.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
ball | readonly | MetricaPoint | null | null when the ball wasn't tracked, which is often: about 40% of frames in both sample games, mostly while play is stopped. | packages/data-providers/src/metrica/types.ts:140 |
Frame | readonly | number | - | packages/data-providers/src/metrica/types.ts:133 |
Period | readonly | number | - | packages/data-providers/src/metrica/types.ts:132 |
players | readonly | readonly MetricaTrackedPlayer[] | The players on the pitch in this frame, home side first. A player whose position is NaN (a substitute not yet on, or one already off) is left out rather than included with null coordinates. | packages/data-providers/src/metrica/types.ts:146 |
Time [s] | readonly | number | Seconds since kick-off, continuous across both halves. | packages/data-providers/src/metrica/types.ts:135 |