Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

chucheria/2019_SatRdaysParis

Repository files navigation

Football meets graphs

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.

Data

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.

Use the docker

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.

RStudio login

  • user: rstudio
  • pass: satuRdays

Neo4j login

  • user: neo4j
  • pass: neo4j

Run the docker

Install docker

  1. First time only to install APOC dependencies in neo4j
./run.sh
  1. For eternity
docker-compose up

About

Code and slides for SatRdays Paris 2019

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published