Skip to content
seankross edited this page Oct 27, 2015 · 4 revisions

Welcome!

Welcome to the swirlify documentation. The swirlify package is designed to help users write and edit swirl courses.

swirl Courses

What is a swirl course?

A swirl course is a directory that contains all of the files, folders, and lessons associated with the course you are developing. Lessons contain most of the content that students interact with, and the course sequentially organizes theses lessons. A course should conceptually encapsulate a single concept that you want to teach.

What is a lesson?

A lesson is a directory that contains all of the files required to execute one unit of instruction inside of swirl. Every lesson must contain one lesson.yaml file which structures the text that the student will see inside the R console while they are using swirl. The lesson.yaml file contains a sequence of questions and the primary utility of swirlify is to help course authors when writing these questions.

What is the file structure of course?

Courses have the following general structure:

Course_Name
├─ Lesson_1
|  └─ lesson.yaml
├─ Lesson_2
|  └─ lesson.yaml
└─ MANIFEST

The MANIFEST file contains the order in which lessons will be displayed.