Skip to content

Add detailed position information to home_players and away_players dataframes #295

@DaanGro

Description

@DaanGro

In the home_players and away_players dataframes from get_open_match (soon te be get_open_game) there is a column "position".
This column contains either of these 4 values: goalkeeper, defender, midfielder of forward.
More detailed information is available (for example: right back, left center back, right center back or left back instead of just defender).
I propose this gets it's own column in the home_players and away_players dataframe with the name "position_detailed".

Statsbomb created this visual that should have all positions:
(https://github.com/statsbomb/open-data/blob/master/doc/Open%20Data%20Events%20v4.0.0.pdf)

Image

The get_open_match function uses the sportec parser but it would be nice to add this for all providers if it is available

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions