Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattblackwell/qsslearnr

learnr tutorial package for Quantitative Social Science
https://github.com/mattblackwell/qsslearnr

Last synced: about 2 months ago
JSON representation

learnr tutorial package for Quantitative Social Science

Awesome Lists containing this project

README

        

# qsslearnr: Interactive Tutorials for Quantitative Social Science

This package contains [`learnr`](https://rstudio.github.io/learnr/index.html) tutorials based on [*Quantitative Social Science: An Introduction*](http://qss.princeton.press/) by [Kosuke Imai](https://imai.fas.harvard.edu/) from Princeton University Press. To install this package, first install the [`qss`](https://github.com/kosukeimai/qss-package), `learnr` and [`gradethis`](https://github.com/rstudio-education/gradethis) packages:

``` r
remotes::install_github("kosukeimai/qss-package", build_vignettes = TRUE)
remotes::install_github("rstudio/learnr")
remotes::install_github("rstudio-education/gradethis")
remotes::install_github("mattblackwell/qsslearnr")
```

Then you can start the tutorials in one of two ways. First, in RStudio 1.3 or later, you will find the QSS tutorials listed in the "Tutorial" tab in the top-right pane (by default). Find a tutorial and click "Run Tutorial" to get started. Second, you can run any tutorial from the R console by typing the following line:

``` r
learnr::run_tutorial("00-intro", package = "qsslearnr")
```

This should bring up a tutorial in your default web browser. You can see the full list of tutorials by running:

``` r
learnr::run_tutorial(package = "qsslearnr")
```

The interface to the tutorials will look like this:

![Screenshot of qsslearnr](man/figures/qsslearnr-screenshot.png)

## Note on the Tidyverse version of the tutorials

Althought there are 11 baseR tutorials in total, only 7 (00 - 06) of such tutorials are in tidyverse since all of the rest (07 - 10) contain mostly conceptual questions.

## Submission Reports

At the end of each tutorial, students can download submission reports that describe what questions and exercises they attempted. Students can then upload these PDFs with their names to a learning management system like Gradescope or Canvas.

## Other QSS tutorials

The material in these tutorials largely follows the original swirl course, [`qss-swirl`](https://github.com/kosukeimai/qss-swirl).