GithubHelp home page GithubHelp logo

chi2labs / moodler Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 2.11 MB

Helper functions to analyze Moodle data

Home Page: http://chi2labs.github.io/moodleR

License: Other

R 100.00%
moodle learning-analytics moodle-data rstats r-package r

moodler's Introduction

moodleR

Lifecycle: stable

CRAN status

The goal of moodleR is to facilitate access to and manipulating of Moodle™ data for learning analytics practitioners. Moodle is a widely used open source learning management system (LMS). For more information about Moodle go to www.moodle.org.

Credits


This package is developed and maintained by the chi square labs team team. For more information about the work we do and the products and services we offer in learning analytics please visit our product page: www.chi2labs.com/product.

Installation

You can install the released version of moodleR from CRAN with:

install.packages("moodleR")

To install the latest development version:

devtools::install("chi2labs/moodleR")

moodler's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nalcan

moodler's Issues

Can´t figure out the config file part

Hi the example function does not open.
Can´t figure out how to edit it/write it
will love to test this package instead of having to use the API and will be very grateful for your input
thanks...

Download course content

Hello,

I am working on a research project which requires me to interact with moodle via R and I had a few questions regarding the functions of the package. Is there an option/way to access the course content through the package? Also, is it possible for a Moodle that is not local to the system to interact with this package via MoodleAPI?

Any information regarding the same is much appreciated as there is limited support on several platforms regarding this.

Regards,
Aarathy

Query not preparing correctly

When I run

test_courses <- mdl_courses(con = mdl_get_connection(use_cache = FALSE))

I receive the error

Error: Failed to prepare query: ERROR:  relation "courses" does not exist
LINE 2: FROM "courses" AS "q01"
             ^

My Moodle database runs off of Postgres, and when I run the command

test <- dplyr::tbl(mdl_con, "courses")

I get the same error

PostgreSQL support?

When running
mdl_con <- mdl_get_connection(use_cache = FALSE)
I receive the following error:
Error: Failed to connect: Lost connection to server at 'handshake: reading initial communication packet', system error: 2
We have set up the config.yml file as described in the setup vignette and are able to connect to the database using other tools (pgAdmin III) with the same settings, so I don't think it is a connection issue. After doing some googling it looks like it may be that the package is expecting a MySQL connection. Our institute runs their Moodle database on PostgreSQL.

Does moodleR support connections to Moodle databases running PostgreSQL?

Change Port

Hello,
I´m currently working on a project where I have to connect a RStudio-server with a Moodle-database. I have created the config.yml with the database information but MoodleR seems to ignore the port-specification in the config file so the connection fails (our database admin told me, that MoodleR tries to connect via standard 3306 instead of the specified port 3308).
Is there any other way to force MoodleR to use the correct port?
Thank you in advance!

My config.yml looks like this:
default:
moodleR:
user: "XXX"
password: "XXX"
dbname: "XXX"
host: "XXX"
port: 3308

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.