Repository with R scripts used to analyse the data of megacity research.