Skip to content

Creating course materials and providing a website using R Markdown

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

webbedfeet/coursedown

Repository files navigation

coursedown

Lifecycle: experimental Travis build status AppVeyor build status

The goal of coursedown is to create a template for course materials.

One folder (slides) comprises of lecture slides written using xaringan and is processed using RMarkdown into a mini-website, where the index.Rmd would be a listing of lectures as well as any meta-data related to lectures.

One folder (notes) comprises course notes (which may be derivative of the slides) built using bookdown into a gitbook-formatted online book

One folder (assignments) can hold homework assignments written in RMarkdown

The top folder creates the class website using RMarkdown, which can link to a Slack space for class collaboration, the GitHub repository for the course materials and various other pages (standard ones are provided for syllabus, instructor bio and other resources)

Building the web pages, presentations and course notes from R Markdown is monitored and controlled by drake.

Installation

The development version can be installed from GitHub with:

# install.packages("devtools")
devtools::install_github("webbedfeet/coursedown")

Example

This is a basic example which shows you how to create a structured set of folders based on coursedown:

library(coursedown)
create_course(slides = T, notes = T, hw = F)

add_slide('00-Introduction.Rmd')
slide2note('slides/00-Introduction.Rmd', outdir = 'notes')
# This creates basic notes from the corresponding slides. These can now be
# edited before processing

process()

This will create the website in the docs folder. Opening docs/index.html will give you access to the full website. You can also deploy this website using GitHub Pages

An example (in fact the first example) of this process can be seen for my BIOF 439 class being taught Spring 2019 at FAES Graduate School @ NIH. Follow the link

About

Creating course materials and providing a website using R Markdown

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published