Learn R Programming

SwimmeR (version 0.14.2)

splash_length_4_sort: Sort data in lists of length 4 within spash_swim_parse

Description

Sort data in lists of length 4 within spash_swim_parse

Usage

splash_length_4_sort(
  x,
  name_string = Name_String,
  time_score_specials_string = Time_Score_Specials_String
)

Value

returns a formatted data frame to be combined with others to make the output of splash_swim_parse

Arguments

x

a list of lists with all sub-lists having length 4

name_string

a regex string for matching athlete names

time_score_specials_string

a regex string for matching results - i.e. times, diving scores and 'specials' like DQ