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

geeks

Lifecycle: experimental CRAN status

The purpose of geeks is to download data from three game-related geek sites: boardgamegeek, rpggeek and videogamegeek.

At the moment, the usage covers fetching and parsing game entries, plays and families. Support for collections, search and threads is planned.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("jchrom/geeks")

Example

The following snippet retrieves data about a set of games, and coerces them into a data frame:

library(geeks)
get_games(c(174430, 161936, 224517))

Play data can be obtained given a game id:

get_plays(174430)

Multiple families can be obtained at once:

get_families(c(7544, 17634))

Built on

xml2, httr, tibble and the BGG API2 docs.



jchrom/geeks documentation built on Oct. 24, 2020, 9:01 a.m.