File size: 1,056 Bytes
d6ea71e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.. _api-spadl-regular:

socceraction.spadl
==================

.. automodule:: socceraction.spadl

Converters
----------

.. autosummary::
   :toctree: generated
   :nosignatures:

   socceraction.spadl.statsbomb.convert_to_actions
   socceraction.spadl.opta.convert_to_actions
   socceraction.spadl.wyscout.convert_to_actions
   socceraction.spadl.kloppy.convert_to_actions


Schema
------

.. autosummary::
  :toctree: generated
  :nosignatures:
  :template: schema.rst

  socceraction.spadl.SPADLSchema

Config
------

.. autosummary::
   :toctree: generated
   :nosignatures:

   socceraction.spadl.config.field_length
   socceraction.spadl.config.field_width
   socceraction.spadl.config.actiontypes
   socceraction.spadl.config.bodyparts
   socceraction.spadl.config.results

Utility functions
-----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   socceraction.spadl.play_left_to_right
   socceraction.spadl.add_names
   socceraction.spadl.actiontypes_df
   socceraction.spadl.bodyparts_df
   socceraction.spadl.results_df