simple_decklist_to_df: parse simple decklist format into dataframe

View source: R/decklist_handling.R

simple_decklist_to_dfR Documentation

parse simple decklist format into dataframe

Description

Intended for compatibility of the original decklist format and the more R native use of dataframes

Usage

simple_decklist_to_df(decklist)

Arguments

decklist

character vector of decklist with format '{count}:{cardcode}'

Value

dataframe with character column cardcode and numeric column count

Examples

lordecks:::simple_decklist_to_df(c("3:01PZ008", "3:01PZ040"))
# returns  :
#   count cardcode
# 1     3  01PZ008
# 2     3  01PZ040

pholzmgit/lordecks documentation built on May 23, 2022, 11:03 a.m.