bgg_topgames: Get IDs of top rated games on BoardGameGeek

View source: R/bgg_tools.R

bgg_topgamesR Documentation

Get IDs of top rated games on BoardGameGeek

Description

This function scraps BoardGameGeek website for IDs of games with given places in the games ranking.

Usage

bgg_topgames(places = 1:100)

Arguments

places

a numeric vector of positive integers.

Value

Numeric vector of IDs.

Author(s)

Jakub Bujnowicz bujnowiczgithub@gmail.com

Examples

bgg_topgames()

x <- 1:5 * 25 + 5
ids <- bgg_topgames(sample(x))
gm <- bggGames$new(ids)
gm$expand(c("name", "rank"))
gm


bggAnalytics documentation built on Aug. 31, 2022, 5:09 p.m.