hbs-rcs / R_Intro-gapminder

A tutorial on data analysis and visualization in R for the social sciences
https://hbs-rcs.github.io/R_Intro-gapminder/
Other
0 stars 0 forks source link

R for the Social Sciences

Build Status

The content for this tutorial is available at hbs-rcs.github.io/R_Intro-gapminder/.

Modifying this Tutorial

To update this tutorial you will need:

  1. rmarkdown to convert R Markdown documents to HTML.
  2. Jekyll to arrange those files for deployment to GitHub Pages, and also to serve files locally.
  3. GNU Make to tie everything together.

Here is the typical workflow:

  1. Edit the content in the R Markdown files in the content folder.

  2. Re-compile the updated R Markdown files using:

    make render
  3. To inspect the site locally use:

    make serve

    and point your browser to localhost:1234.

  4. Deploy your changes to the gh-pages branch of this repository using:

    make deploy

    This step uses git-directory-deploy under the hood.