Matching constellations to shot maps.
Run make all
to run the matching algorithm for all constellations and view the results at data/constellations/{constellation}/...
, after making sure you've satisfied the requirements (listed below).
Alternatively, you can download a sample of matched constellations and shot maps from the releases.
The full results are available here
- A Python environment (assumed to be at
venv
, unless otherwise set with thePYTHON_VENV
environment variable). Anything version 3.6+ should be fine. Required packages are inrequirements.txt
.- You can create a virtual environment at
venv
and install the requirements withmake venv
- You can create a virtual environment at
- An R installation, with the tidyverse and ggsoccer installed. I used v3.6.3 (I haven't tested v4, but I assume that's fine, too)
data/shots.csv
. I used a csv with the following columns, one row per shot (I think fbref publishes this data now, so you should be able to get it from there). Fields that aren't used by the main algorithm are shown in square brackets. Skipping these columns won't matter, but will result in a warning message. (There is a make rule fordata/shots.csv
that you can replace should you want to.)- [
id
] game_id
team_id
- [
team
] - [
game_label
] - [
kickoff
] x
y
- [
event_type
]
- [
The name for this project comes from the Nebra sky disc.