Idea is to calculate xG of each shot taken, given is the location of each shot taken from in x,y coordinates, and also by calculating angles of each shot towards the goal post.
The Field is divided to 120 x 80 units, and hence locating each shot from the Statsbomb open data. the xG model her predicts from the data of 58k+ shots and draw some conclusions over it.
To download the data and mounted in drive/MyDrive locattion. Then create a directory /MyDrive/xg-model and here storing the data in the ./data/raw/ directory. also creating a new directory in the /data/processed to store the processed data (csv) files, and then using these to access for further process.
shot distance and angles are calculated from the goal post, and then scaling the data and on further caliberating it for realistic results.
The data model here predicts the xG model as seen in the following charts:

I was very interested in the shot map as we see in the Fotmob, Sofascore and more such apps, so using this data I decided to build that too!
here are the results;
this is the shot map of all the data in events section (by the date it was formed):

here is one highlighting those which were shots on target (goals marked as blue):

