Foul committed

Show/hide data providers
Data providers

kloppy.domain.FoulCommittedEvent dataclass

Indicates a foul has been committed. The event is defined for the team that commits the foul.

Event Specific Attributes

Name Description Hudl StatsBomb Stats Perform / Opta Wyscout (v2) Wyscout (v3) DataFactory Sportec Solutions Metrica (JSON)
event_type EventType.FOUL_COMMITTED

TYPE: EventType
event_name "foul_committed"

TYPE: str
qualifiers A list of qualifiers providing additional information about the foul.

TYPE: list[Union[CounterAttackQualifier, CardQualifier]]

Event Data General Attributes

Name Description Hudl StatsBomb Stats Perform / Opta Wyscout (v2) Wyscout (v3) DataFactory Sportec Solutions Metrica (JSON)
event_id Event identifier given by provider. Alias for record_id.

TYPE: str
time Time in the match the event takes place.

TYPE: Time
coordinates Coordinates where event happened.

TYPE: Point
team Team related to the event.

TYPE: Team
player Player related to the event.

TYPE: Player
ball_owning_team Team in control of the ball during the event.

TYPE: Optional[Team]
ball_state Whether the ball is in play.

TYPE: Optional[BallState]
raw_event The data provider's raw representation of the event.

TYPE: object
dataset A reference to the dataset the event is part of.

TYPE: Dataset
prev_record A reference to the previous event.

TYPE: Optional[Self]
next_record A reference to the next event.

TYPE: Optional[Self]
related_event_ids Event identifiers of related events.

TYPE: list[str]
freeze_frame A snapshot with the location of other players at the time of the event.

TYPE: Optional[Frame]
attacking_direction The playing direction of team during the event.

TYPE: AttackingDirection
state Additional game state information.

TYPE: dict[str, Any]
- - - - - - -