Data Access

Functions for accessing Moodle data or data in the local cache of Moodle tables.

mdl_config()

Moodle Configuration Table

mdl_courses()

Get Courses

mdl_forum_posts()

Get Forum Posts

mdl_grades()

Get Grades

mdl_log()

Access Moodle's Logs

mdl_users()

Get Moodle Users

Connections and Caching

Functions for configuring database access, downloading dataand setting up a local cache.

mdl_get_connection()

Connect to Moodle Data

mdl_get_cache_connection()

Connection to Cached Moodle Data

mdl_create_cache()

Creates a Local Cache

Summary Functions

Summary functions with sensible defaults for the domain in question.

summary(<mdl_courses>)

Summary of mdl_courses Object

summary(<mdl_forum_posts>)

Summary of mdl_forum_posts Object

summary(<mdl_grades>)

Summary of mdl_grades Object

summary(<mdl_users>)

Summary of mdl_users Object

Plot Functions

Plot functions with sensible defaults for the domain in question.

plot(<mdl_forum_posts>)

Wordcloud Plot

plot(<mdl_grades>)

Plot Moodle Grades

Print Functions

Print functions with sensible defaults for the domain in question.

print(<mdl_courses_summary>)

Print Moodle Courses Summary

print(<mdl_grades_summary>)

Print Moodle Grades Summary

print(<mdl_post_summary>)

Print Moodle Forum Post Summary

print(<mdl_users_summary>)

Print Moodle Users Summary

Check Function

Checks if cache has been created correctly.

check_mdl_cache()

Check Cached Data

Cache Paths

Gets the cache directory and filename.

mdl_get_cache_dir()

Get the Cache Directory

mdl_get_cache_filename()

Get the Cache Filename

Config Template

Creates an example config.yml file and opens it for editing.

example_config_yml()

Example Config yml File