WyscoutEvent
Defined in: packages/data-providers/src/wyscout/types.ts:54
Indexable
[key: string]: unknownProperties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
endX? | readonly | number | positions[1].x, lifted — absent for Shot, Interruption and Offside, where Wyscout never records a real end location. See hasEndLocation. | packages/data-providers/src/wyscout/types.ts:89 |
endY? | readonly | number | positions[1].y, lifted. Absent wherever endX is. | packages/data-providers/src/wyscout/types.ts:91 |
eventId | readonly | number | - | packages/data-providers/src/wyscout/types.ts:61 |
eventName | readonly | WyscoutEventName | - | packages/data-providers/src/wyscout/types.ts:62 |
eventSec | readonly | number | Seconds since the start of this period, not of the match. | packages/data-providers/src/wyscout/types.ts:67 |
id | readonly | number | Unique event id. | packages/data-providers/src/wyscout/types.ts:56 |
matchId | readonly | number | - | packages/data-providers/src/wyscout/types.ts:57 |
matchPeriod | readonly | WyscoutMatchPeriod | - | packages/data-providers/src/wyscout/types.ts:65 |
playerId | readonly | number | 0 when no player is credited (some interruptions). | packages/data-providers/src/wyscout/types.ts:60 |
positions | readonly | readonly WyscoutPosition[] | Start and (usually) end point. Almost always two entries; a handful of fouls carry one. Coordinates are normalised to the attacking direction, not absolute: x: 100 is always the goal the event's team is attacking, in both halves. Both teams therefore appear to attack left-to-right, and nothing flips at half time. | packages/data-providers/src/wyscout/types.ts:78 |
subEventId | readonly | string | number | - | packages/data-providers/src/wyscout/types.ts:63 |
subEventName | readonly | string | - | packages/data-providers/src/wyscout/types.ts:64 |
tags | readonly | readonly WyscoutTag[] | - | packages/data-providers/src/wyscout/types.ts:68 |
teamId | readonly | number | - | packages/data-providers/src/wyscout/types.ts:58 |
x | readonly | number | positions[0].x, lifted for direct use as a PitchKit x accessor. | packages/data-providers/src/wyscout/types.ts:81 |
y | readonly | number | positions[0].y, lifted for direct use as a PitchKit y accessor. | packages/data-providers/src/wyscout/types.ts:83 |