All Projects → skranz → Rtutor

skranz / Rtutor

Creating interactive R Problem Sets. Automatic hints and solution checks. (Shiny or RStudio)

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rtutor

Shinyapps links
A collection of Shiny applications (links shared on Twitter)
Stars: ✭ 109 (-22.7%)
Mutual labels:  shiny, rstudio, rstats
Dsci 100
Repository for UBC's Introduction to Data Science course (DSCI 100)
Stars: ✭ 46 (-67.38%)
Mutual labels:  teaching, rstats
Rstudioconf tweets
🖥 A repository for tracking tweets about rstudio::conf
Stars: ✭ 32 (-77.3%)
Mutual labels:  rstudio, rstats
Trackmd
Tools for tracking changes in Markdown format within RStudio
Stars: ✭ 89 (-36.88%)
Mutual labels:  rstudio, rstats
Shinyappdemo
A demo shiny app inside a package
Stars: ✭ 23 (-83.69%)
Mutual labels:  shiny, rstats
Datofutbol
Dato Fútbol repository
Stars: ✭ 23 (-83.69%)
Mutual labels:  shiny, rstats
Darkstudio
darkstudio. A dark grey alternative to RStudio's default dark theme.
Stars: ✭ 75 (-46.81%)
Mutual labels:  rstudio, rstats
Highcharter
R wrapper for highcharts
Stars: ✭ 583 (+313.48%)
Mutual labels:  shiny, rstats
Rbert
Implementation of BERT in R
Stars: ✭ 114 (-19.15%)
Mutual labels:  rstudio, rstats
Anicon
Animated icons for R markdown and Shiny apps
Stars: ✭ 109 (-22.7%)
Mutual labels:  shiny, rstats
Talks
Repository of publicly available talks by Leon Eyrich Jessen, PhD. Talks cover Data Science and R in the context of research
Stars: ✭ 16 (-88.65%)
Mutual labels:  teaching, rstats
Shinyfiles
A shiny extension for server side file access
Stars: ✭ 133 (-5.67%)
Mutual labels:  shiny, rstats
Shinydashboard
Shiny Dashboarding framework
Stars: ✭ 718 (+409.22%)
Mutual labels:  shiny, rstudio
Rmarkdown Website Tutorial
Tutorial for creating websites w/ R Markdown
Stars: ✭ 26 (-81.56%)
Mutual labels:  teaching, rstats
Datascience Box
Data Science Course in a Box
Stars: ✭ 629 (+346.1%)
Mutual labels:  teaching, rstats
Sever
🔪Good-looking problems: customise your Shiny disconnected screen and error messages
Stars: ✭ 60 (-57.45%)
Mutual labels:  shiny, rstats
Moderndive book
Statistical Inference via Data Science: A ModernDive into R and the Tidyverse
Stars: ✭ 527 (+273.76%)
Mutual labels:  rstudio, rstats
Shinyjs
💡 Easily improve the user experience of your Shiny apps in seconds
Stars: ✭ 566 (+301.42%)
Mutual labels:  shiny, rstats
Shinycustomloader
Add a custom loader for R shiny
Stars: ✭ 97 (-31.21%)
Mutual labels:  shiny, rstats
Cicerone
🏛️ Give tours of your Shiny apps
Stars: ✭ 131 (-7.09%)
Mutual labels:  shiny, rstats

RTutor: Interactive R Problem Sets

Author: Sebastian Kranz, Ulm University

RTutor is an R package that allows to develop interactive R exercises. Problem sets can be solved off-line or can be hosted in the web with shinyapps.io. Problem sets can be designed as a Markdown .rmd file (to be solved directly in RStudio) or use a browser-based interface powered by RStudio's Shiny. While the web interface looks nicer, I personally use problem sets in the Markdown format when teaching advanced economic classes.

Installation

RTutor and some required packages are not hosted on CRAN (while CRAN is great it takes a lot of time to maintain several packages there). I have created an own Github based R repository, from which you can install RTutor by using the following code:

install.packages("RTutor",repos = c("https://skranz-repo.github.io/drat/",getOption("repos")))

Note: If you want to create your own web-based RTutor problem sets and upload them on shinyapps.io, you need to install RTutor and required packages directly from Github and CRAN as explained fruther below. That is because shinyapps.io only works with R packages directly installed from Github or CRAN.

Create your own problem sets

Take a look at the manuals for documentation of how to create own problem sets. Also look at the examples below.

Trying out some problem sets

You can try out the Rmarkdown version of RTutor via RStudio Cloud:

https://rstudio.cloud/project/39040

For the web-based interface, several students at Ulm University have created very nice problem sets that allow to interactively replicate the main insights of interesting economic articles and to learn a bit about R and econometrics. Before developing your own problem sets, you may want to try out some of these examples:

The Effect of Water Pollution on Cancer (by Brigitte Peter)

Comparing the Environmental Damages of Driving Electric or Gasoline Cars (by Felix Stickel)

The causal effects of Sweden's CO2 Tax (by Theresa Graefe)

Public Procurement Auctions: Design, Outcomes and Adaption Costs (by Frederik Collin)

Poverty Reduction and Deforestation (by Katharina Kaufmann)

How soap operas reduced fertility in Brazil (by Clara Ulmer)

Excessive Traffic Jams? Improving Incentive Contracts for Road Construction Projects (by Claudius Schmid)

The impact of competition policy and industrial policy on economic development (by Julian Latzko)

Assessing Free Trade Agreements (by Tobias Fischer)

CO2 Trading and Risk of Firm Relocation (by Benjamin Lux)

On the optimal taxation of top incomes (by Jonas Send)

The effect of the TseTse fly on African Development (by Vanessa Schöller)

Pollution Reduction by Wind Energy (by Anna Sophie Barann)

Wall Street and the Housing Bubble (by Marius Wentz)

How much less effective are publicly assigned lawyers? (by Artemij Cadov)

Air pollution and house prices (by Moritz Sporer)

Predicting Effects of Carbon Pricing on US Electricity Production (by Daniel Dreyer)

A macroeconomic study of credit booms and busts (by Thomas Clausing)

The impact of emmission trading on green innovation (by Arthur Schäfer)

Social Spillovers in Movie Consumption (by Lara Santak)

Building Codes and Energy Efficiency (2 versions, by Simon Hertle and Lisa Eilts)

Technological Progress and Fuel Economy of Cars (by Marius Breitmayer)

How can Scandinavians tax so much? (by David Hertle)

An interesting case study of a bank run (by Joachim Plath)

Courses that use RTutor problem sets

If you a have course that uses RTutor that you want to share, just send me an email and I add your course to the list!

  • Two courses from me: Empirical Economics with R and Market Analysis with Econometrics and Machine Learning. Both consists of online shiny apps with videos and quizzes and many RTutor problem sets.

  • Jade Benjamin-Chung from UC Berkeley School of Public Health has created with RTutor online tutorials for an introductory R course for epidemiologists. If you click on a tutorial the corresponding RTutor problem set can be directly solved on shinyapps.io. There is no need to log in.

  • RTutor is also used in a compulsory data science project course taught by Alex Rieber for business and economics students at Ulm University. The problem sets teach basic skills in R, including tidyverse data wrangling, as well as econometric and machine learning basic with economic applications. Alex published the problem sets and other course material here on Github. You find on the Github pages also links that allow you to test the problem sets on the rstudio cloud. The course is in German but Alex already started to make an English version of the problem sets, which will be added once finished.

Installing RTutor directly from Github

To install RTutor and required packages directly from Github and CRAN, you can use the small function in the following gist:

https://gist.github.com/skranz/fad6062e5462c9d0efe4

Copy the code in the link into your R console and then run:

install.rtutor(update.github=TRUE)

Depending on your devtools version, also the following code may work directly (yet source_gist is buggy in some devtools versions):

if (!require(devtools)) 
  install.packages("devtools")

devtools::source_gist("gist.github.com/skranz/fad6062e5462c9d0efe4", filename="install_rtutor.r")
install.rtutor(update.github=TRUE)
library(RTutor)

If you only want to update the RTutor package (and have the other packages already installed). You can just type:

devtools::install_github("skranz/RTutor", upgrade="ask")

(You may have to restart your R session / RStudio for the update to work.)

Suggestions & Feedback

If you have suggestions or find bugs, please don't hesitate to open an issue on the Github page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].