parseEvents()
function parseEvents(json): ImpectEvent[];Defined in: packages/data-providers/src/impect/parse.ts:121
Parses an events_{matchId}.json file.
Every event keeps all of Impect's fields. The lifted x/y/endX/endY
are the adjusted coordinates, where the acting team attacks towards
+x in both halves, because that is what a shot or pass map wants. The
absolute ones stay at start.coordinates and end.coordinates.
Parameters
| Parameter | Type |
|---|---|
json | unknown |