bgg_topgames: Get IDs of top rated games on BoardGameGeek

Description Usage Arguments Value Author(s) Examples

View source: R/bgg_tools.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
bgg_topgames()

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

bggAnalytics documentation built on Sept. 24, 2021, 1:06 a.m.