clean_play_xml: Consider the XML Only from Valid Games

Description Usage Arguments Value

View source: R/manipulate_bg_plays.R

Description

This function takes in and returns a Board Game Geek xml list parameter. The output file will only have valid plays.

Usage

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

Arguments

xml_play

A BGG play.xml file that is loaded into R.

Value

Two possible outcomes. 1. A BGG play.xml file that is stripped of invalid plays. 2. An error that says "no valid plays logged"


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