Learn R Programming

bggAnalytics (version 0.2.1)

bgg_topgames: 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)

Value

Numeric vector of IDs.

Arguments

places

a numeric vector of positive integers.

Author

Jakub Bujnowicz bujnowiczgithub@gmail.com

Examples

Run this code
bgg_topgames()

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

Run the code above in your browser using DataLab