play_xml_to_df: Turn a Board Game Geek file into an R Data Frame

Description Usage Arguments Value

View source: R/manipulate_bg_plays.R

Description

Takes a Board Game Geek xml list parameter. It outputs a data frame where all plays are sorted by play_id (listed in the data fram as 'id“) and date.

Usage

1
play_xml_to_df(xml_play, player_data = "players", game_data = "item")

Arguments

xml_play

An individual BGG play, usually one element of an XNL list.

Value

A data frame of gameplay statistics.


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