This project is not covered by Drupal’s security advisory policy.

This module creates a DataCamp Code content type that uses the DataCamp Light libary to render either a Python or R editor in your node. When used with the Node Embed module you can render an editor anywhere in a node.

Installation:
1. Download and enable the module.
2. Place the DataCamp Light js file in your libraries folder so the path is /sites/all/libraries/datacamp/datacamp-light-latest.min.js

DataCamp Light banner

DataCamp Light
  • Convert any website or blog to an interactive learning platform.
  • Works for both R and Python. Sessions are maintained on DataCamp's servers.
  • Convert existing markdown documents to an interactive course using the tutorial package.
  • Check out a demo R and Python example.
  • Leverage the same Submission Correctness Tests (SCT) DataCamp uses for all their courses. For R, there's the testwhat (GitHub wiki); for Python, there's pythonwhat (GitHub wiki).

Student flow

The user attempts to solve the exercise.
DataCamp Light example 1

The user can play around in the interactive R or Python console on the right.
DataCamp Light example 2

By giving automated feedback, the user is guided to the correct solution.
DataCamp Light example 3

Supporting organizations: 

Project information

Releases