This repository is a small analysis about home advantage and competitiveness in football. It uses the Neo4j database and its R API wrapper Neo4r.
The neo4r package is in experimental phase. That gives us some limits in use, that's why the script has data retrieval and data wrangle but I believe both analysis can be almost entirely done in neo4j.
The data presented in SatRdays was for the La Liga and the Premier League. Another dataset has been aded since the conference, the "FA Women's Super League". The code to import is already in script.Rmd, if you execute it in your computer make sure you have the APOC procedures installed.
- Statsbomb for the women futbol.
You'll find a dockerfile
in the repository, this docker builds:
- RStudio with the tidyverse, neo4j, visnetwork.
The docker-compose.yml
runs a neo4j image and the RStudio mentioned before.
- user: rstudio
- pass: satuRdays
- user: neo4j
- pass: neo4j
Install docker
- First time only to install APOC dependencies in neo4j
./run.sh
- For eternity
docker-compose up