weijia2013 / tidyquiz

:ballot_box_with_check: Can you select the correct package for the named tidyverse function?

Home Page:https://mattdray.shinyapps.io/tidyquiz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tidyverse functions quiz

Blog post

Very much in development

Answering a question and geting a new one

What?

Can you match the tidyverse function to the package name? A multiple choice quiz.

A silly thing made with the {learnr} package, the tidyverse and {pacman}, inspired by frustrations of Ryan Timpe, Daniel McNichol, and others I'm sure.

How to

Available here: https://mattdray.shinyapps.io/tidyquiz/

Or install locally and run it with the following commands:

  1. remotes::install_github("matt-dray/tidyquiz") to install this package
  2. library(tidyquiz) to load the package
  3. learnr::run_tutorial("tidy", package = "tidyquiz") to open in your browser

Notes

Do I have to install loads of packages for this to work?

Yes, if installing locally. This thing works on the fly. It fetches the tidyverse packages and creates questions and answers whenever you run generate_quiz(). This means you should be prepared for all the tidyverse packages to be downloaded to your machine. On the plus side, functions presented to you in the quiz will always be current.

The list of packages can be found in tidyverse::tidyverse_packages(). At time of writing (2019-03-17) the packages are:

"broom"     "cli"         "crayon"   "dplyr"     "dbplyr"      "forcats"
"ggplot2"   "haven"       "hms"      "httr"      "jsonlite"    "lubridate"
"magrittr"  "modelr"      "purrr"    "readr"     "readxl"      "reprex"
"rlang"     "rstudioapi"  "rvest"    "stringr"   "tibble"      "tidyr"      
"xml2"      "tidyverse"  

What about functions that mask other functions?

There's only ever one correct answer from the four presented. If you are presented with a function that exists in multiple packages, the answer set will include one package it definitely exists in and three it definitely doesn't exist in.

About

:ballot_box_with_check: Can you select the correct package for the named tidyverse function?

https://mattdray.shinyapps.io/tidyquiz/

License:Other


Languages

Language:HTML 99.5%Language:R 0.5%