-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from koenvo/more-docs
More docs
- Loading branch information
Showing
14 changed files
with
749 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
mkdocs | ||
mkdocs-jupyter | ||
mkdocs-material | ||
jupyter | ||
jupyter | ||
mkdocstrings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Classes | ||
|
||
::: kloppy.domain.models.common.Metadata | ||
selection: | ||
inherited_members: true | ||
|
||
::: kloppy.domain.models.common.Player | ||
|
||
::: kloppy.domain.models.common.Position | ||
|
||
::: kloppy.domain.models.common.Team | ||
|
||
::: kloppy.domain.models.common.Score | ||
|
||
::: kloppy.domain.models.common.Period | ||
|
||
|
||
|
||
## Enums | ||
|
||
::: kloppy.domain.models.common.AttackingDirection | ||
|
||
::: kloppy.domain.models.common.BallState | ||
|
||
::: kloppy.domain.models.common.DatasetType | ||
|
||
::: kloppy.domain.models.common.Ground | ||
|
||
::: kloppy.domain.models.common.Orientation | ||
|
||
::: kloppy.domain.models.common.Provider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
## Dataset | ||
|
||
::: kloppy.domain.models.event.EventDataset | ||
selection: | ||
inherited_members: true | ||
members: | ||
- "to_pandas" | ||
- "transform" | ||
- "filter" | ||
- "add_state" | ||
|
||
## Events | ||
|
||
### Event base class | ||
::: kloppy.domain.models.event.Event | ||
|
||
::: kloppy.domain.models.event.ShotEvent | ||
::: kloppy.domain.models.event.PassEvent | ||
::: kloppy.domain.models.event.TakeOnEvent | ||
::: kloppy.domain.models.event.CarryEvent | ||
::: kloppy.domain.models.event.RecoveryEvent | ||
|
||
::: kloppy.domain.models.event.SubstitutionEvent | ||
::: kloppy.domain.models.event.PlayerOnEvent | ||
::: kloppy.domain.models.event.PlayerOffEvent | ||
|
||
::: kloppy.domain.models.event.CardEvent | ||
::: kloppy.domain.models.event.FoulCommittedEvent | ||
|
||
::: kloppy.domain.models.event.BallOutEvent | ||
|
||
::: kloppy.domain.models.event.GenericEvent | ||
|
||
|
||
## Results | ||
|
||
::: kloppy.domain.models.event.ShotResult | ||
::: kloppy.domain.models.event.PassResult | ||
::: kloppy.domain.models.event.CarryResult | ||
::: kloppy.domain.models.event.TakeOnResult | ||
|
||
|
||
## Types | ||
|
||
::: kloppy.domain.models.event.EventType | ||
::: kloppy.domain.models.event.CardType | ||
|
||
|
||
## Qualifiers | ||
|
||
Qualifier specify additional information about certain events. See [`get_qualifier_value`](kloppy.domain.models.event.Event.get_qualifier_value) for usage. | ||
|
||
::: kloppy.domain.models.event.Qualifier | ||
|
||
::: kloppy.domain.models.event.SetPieceQualifier | ||
::: kloppy.domain.models.event.SetPieceType | ||
|
||
::: kloppy.domain.models.event.BodyPartQualifier | ||
::: kloppy.domain.models.event.BodyPart | ||
|
||
::: kloppy.domain.models.event.PassQualifier | ||
::: kloppy.domain.models.event.PassType | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:::kloppy.domain.models.pitch.Point | ||
|
||
:::kloppy.domain.models.pitch.PitchDimensions | ||
|
||
:::kloppy.domain.models.pitch.Dimension | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## Coming soon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Helpers | ||
|
||
## Loading event data | ||
|
||
All event load functions support [options](#options). | ||
|
||
::: kloppy.load_statsbomb_event_data | ||
|
||
::: kloppy.load_opta_event_data | ||
|
||
::: kloppy.load_metrica_json_event_data | ||
|
||
::: kloppy.load_sportec_event_data | ||
|
||
::: kloppy.load_wyscout_event_data | ||
|
||
|
||
### Options | ||
|
||
Option | Type | Description | Default | ||
------ | ---- | ----------- | ------- | ||
**`event_types`** | `List[str]` | Only load events of these types to the dataset. By default load all types. See [`EventTypes`][kloppy.domain.models.event.EventType]. Pass the name of the EventType. Example `["PASS", "SHOT"]` | None | ||
|
||
## Loading tracking data | ||
|
||
Coming soon | ||
|
||
## Other helpers | ||
|
||
::: kloppy.domain.services.state_builder.add_state | ||
|
||
::: kloppy.helpers.to_pandas | ||
|
||
::: kloppy.helpers.transform | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.