PitchKit
API Reference@pitchkit/data-providersmetricaInterfaces

MetricaTrackedPlayer

Defined in: packages/data-providers/src/metrica/types.ts:108

One player's position in one frame.

Properties

PropertyModifierTypeDescriptionDefined in
jerseyreadonlynumber | nullFrom the file's second header row; null if that cell is blank.packages/data-providers/src/metrica/types.ts:119
playerreadonlystringThe column header, verbatim, which is what an event's From and To hold. Usually "Player11", but Sample Game 2 spells one away player "Player 26", with a space, in both its tracking and events files, so don't normalise it.packages/data-providers/src/metrica/types.ts:117
teamreadonlyMetricaTeamFrom the file's first header row: "Home" or "Away".packages/data-providers/src/metrica/types.ts:110
xreadonlynumber-packages/data-providers/src/metrica/types.ts:120
yreadonlynumber-packages/data-providers/src/metrica/types.ts:121

On this page