GIFTr

:books: R Package to create LMS quizzes

https://github.com/OmarAshkar/GIFTr

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.3%) to scientific vocabulary

Keywords

moodle r
Last synced: 11 months ago · JSON representation

Repository

:books: R Package to create LMS quizzes

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
moodle r
Created almost 7 years ago · Last pushed almost 7 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```
# GIFTr


[![CRAN status](https://www.r-pkg.org/badges/version/GIFTr)](https://CRAN.R-project.org/package=GIFTr)
[![Travis build status](https://travis-ci.org/omarelashkar/GIFTr.svg?branch=master)](https://travis-ci.org/omarelashkar/GIFTr)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/omarelashkar/GIFTr?branch=master&svg=true)](https://ci.appveyor.com/project/omarelashkar/GIFTr)
[![DOI](https://zenodo.org/badge/208570969.svg)](https://zenodo.org/badge/latestdoi/208570969)


'GIFTr' package in intended to help course creators to upload questions to MOODLE and other LMS for quizzes. 'GIFTr' takes dataframe or tibble of questions of four types: mcq, numerical questions, true or false and short answer,and export it a text file formatted in MOODLE GIFT format. You can prepare a spreadsheet in any software and import it in R and generate any number of questions with HTML, markdown and LATEX support.

## Installation

from cran with:

```r
install.packages("GIFTr")
```

from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("omarelashkar/GIFTr" , build_vignettes = TRUE)
```
## Example


```{r example}
library(GIFTr)
# load GIFTrData
data("GIFTrData")

# See the structure of the data
head(GIFTrData , 2)
str(GIFTrData)

#Create quiz.txt file with GIFT format 
GIFTr::GIFTr(data = GIFTrData, questions = 3, answers = c(4:8), 
             categories = 1, question_type = 9, output = 'quiz.txt')
```

```{r message=FALSE, warning=FALSE, include=FALSE}
file.remove("quiz.txt")
```

The generated file can be imported easily by MOODLE or any other LMS that supports GIFT.

For further documentation instructions, check the package [vignette](https://cran.r-project.org/web/packages/GIFTr/vignettes/GIFTr_tutorial.html) and documentation.

```r
#open vingette
vignette("GIFTr_tutorial")
```

Owner

  • Name: Omar I. ElAshkar
  • Login: OmarAshkar
  • Kind: user
  • Location: Orlando, Fl

GitHub Events

Total
Last Year

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • glue * imports
  • stringr * imports
  • kableExtra * suggests
  • knitr * suggests
  • rmarkdown * suggests