read_bgg_stats_xml: Read a BGG play.xml file into R

Description Usage Arguments Value

View source: R/manipulate_bg_plays.R

Description

This function takes an xml website and username as inputs. It looks at all of the logged games from BGG as listed by the xml website, and loads those into R as a list. It outputs a list that has the same structure as the xml file.

Usage

1
2
3
4
read_bgg_stats_xml(
  user,
  base_url = "https://boardgamegeek.com/xmlapi2/plays?username="
)

Arguments

user

The username of a Board Game Geek account.

base_url

The url of Board Game Geek's xml api.

Value

A list of gameplay statistics in XML style.


kenosborne/bgStats documentation built on Jan. 30, 2020, 12:25 a.m.