Module: CP60056E — Databases and Analytics
Student: Abdul Aaqib Ali Abdul Aasik Ali
Supervisor: Dr Shidrokh Goudarzi
analysis.py— Python data cleaning, SQL, stats, plotsanalysis.R— R analytics and SQL within R using sqldfmongo_load.py— loads documents into MongoDB Atlasmongo_demo.py— CRUD, indexes and explain plansnotebooks/— Colab notebooknorthstar_data/— the 9 raw CSV filesimages/— all generated chartsoutput/— CSV outputs
pip install pandas numpy matplotlib seaborn scipy scikit-learn pymongo
python analysis.pyinstall.packages(c("DBI","RSQLite","sqldf","dplyr","readr","ggplot2","tidyr","broom","scales"))
Rscript analysis.RFor MongoDB set the MONGO_URI environment variable then run mongo_load.py followed by mongo_demo.py.
Open the notebook in Colab using the badge above.