knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

data.iquizoo

R-CMD-check Codecov test coverage

The goal of data.iquizoo is to provide datasets for IQUIZOO workflows.

Installation

You can install the development version of data.iquizoo from GitHub with:

# install.packages("devtools")
devtools::install_github("psychelzh/data.iquizoo")

Or you can install from r-universe with:

install.packages("data.iquizoo", repos = c(getOption("repos"), "https://psychelzh.r-universe.dev"))

Example

The main parts of the package are two datasets: game_info and game_indices. The former contains information about games, and the latter contains information about the indices of games. Here is a simple example:

library(data.iquizoo)
# for long-int identifiers
requireNamespace("bit64", quietly = TRUE)
# show the first few rows of the data
head(game_info)
head(game_indices)

Some functions are also provided to help you work with the datasets. For example:

library(data.iquizoo)
# some other useful functions
game_id <- bit64::as.integer64(305067065282821)
match_info(game_id, to = "game_name")
merge_preproc(data.frame(game_id = game_id))

Contributing

We develop with the github flow for its simplicity of this package.



psychelzh/data.iquizoo documentation built on April 18, 2024, 3:06 a.m.