Instructions

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 9

DownloadInstructions
Open PDF In BrowserView PDF
Learning Analytics DIY

Overview

1

Environment Setup

1

Install Python Anaconda Distribution

1

Install graphviz:

1

Install dashboards layout extension (optional)

3

Startup Anaconda

4

Download and Extract the Notebook

5

Running the notebook

6

Overview
This setup guide describes how to analyse Moodle course logs locally on your machine using
Jupyter Notebooks.

Environment Setup
To perform the setup tasks, you will need the following:
● A Windows, Linux, or Apple Macintosh computer.
● A web browser and Internet connection.

Install Python Anaconda Distribution
a. In a web browser, navigate to ​https://www.anaconda.com/distribution/
b. Choose the installer for your operating system (Windows, Apple Macintosh, or
Linux).
c. Complete the installation process for Python 3.7. You can find more detailed
installation steps in the ​Anaconda installation guide​.

Install graphviz:
1. Click on Windows' search box on the taskbar, and start typing "Anaconda". It
should bring up some matching entries.
1

Learning Analytics DIY
2. Right-click the result "Anaconda Prompt" and choose “Run as administrator.”

3. A new command window, named "Anaconda Prompt" will open. To install
graphviz ​with conda type the following and click enter to run:
conda ​install​ -c anaconda graphviz
4. Proceed to update the required packages by typing “y”, as in the image below

2

Learning Analytics DIY

5. Then run
pip ​install​ graphviz

Install dashboards layout extension (​optional​)
The dashboards layout extension is an add-on for Jupyter Notebook. It lets you arrange your
notebook outputs (text, plots, widgets, …) in a grid or report like layouts. It saves information
about your layouts in your notebook document. Other people with the extension can open your
notebook and view your layouts.
1. Open the Anaconda Prompt as shown previously in installing graphviz.
2. To install ​dashboards layout extension ​with conda run:

conda ​install jupyter_dashboards ​-c conda-forge

3

Learning Analytics DIY

Startup Anaconda
1. After installation is complete, verify the installation by opening Anaconda Navigator. We
will return to this Anaconda Navigator window later - keep it open fo now.

You are now setup to run Python applications locally on your machine. The next step is to
download the project code to analyse Moodle logs from github (called a notebook file).

4

Learning Analytics DIY

Download and Extract the Notebook
Download the notebook file application and extract it to a folder on your local computer as
follows:
1. In a web browser, navigate to
https://github.com/csmibrahim/Accessible-Learning-Analytics
2. From the page on GitHub, you can press the 'Download ZIP' button which is located
under the "Clone or Download" drop down.

3. A zip archive “Accessible-Learning-Analytics-master.zip” will be downloaded locally
in to your download folder. Create a folder for this and your Moodle logs. Unzip
Accessible-Learning-Analytics-master.zip to this folder.

5

Learning Analytics DIY

Running the notebook
1. Return to the Anaconda Navigator, and start jupyter by click “Launch” under the jupyter
pane.

2. Navigate in jupyter Files to the folder where you downloaded the project earlier. Click on
ALA.ipynb to open the notebook.

6

Learning Analytics DIY

3. Make sure to keep your data files (Grade and Activity log) in the same folder where the
code is. Otherwise, you have to type the full directory of the file before the name of the
file. Also, please make sure files is saved in CSV format.
4. Before running the notebook to start analysing your Moodle log and grades: For each
course, we need to update the following course variables (i.e. change the text in red in
the code as per the screenshot below):
a. Start Date and End Date for the course, in YYYY-MM-DD format
b. The name of the Moodle log file (called activity file below)
c. The name of the Moodle gradebook (called grade file below) Or If you are using
your own excel spreadsheet for grades, make sure every column has a name;
column names are in row 1; and grades start in row 2. Also specify below:
i.
The name of the column holding the final grade for the module
ii.
The name of the column holding the student ID.

7

Learning Analytics DIY

5. To run the code and generate reports and graphs: under the ​Cell​ menu select “Run All”.

8

Learning Analytics DIY

You should now be able to scroll through the notebook to see the results of the analysis.

9



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : Yes
Create Date                     : 2019:06:19 23:02:37+01:00
Modify Date                     : 2019:06:19 23:02:37+01:00
XMP Toolkit                     : Adobe XMP Core 5.6-c016 91.163616, 2018/10/29-16:58:49
Producer                        : Skia/PDF m75
Metadata Date                   : 2019:06:19 23:02:37+01:00
Document ID                     : uuid:6381408b-3a92-9345-b8c3-ee56c91ba312
Instance ID                     : uuid:7a65040f-599f-4e44-9784-a8d1f347554a
Format                          : application/pdf
Page Count                      : 9
EXIF Metadata provided by EXIF.tools

Navigation menu