splash_length_9_sort: Sort data in lists of length 9 within 'spash_swim_parse'

View source: R/splash_list_sorters.R

splash_length_9_sortR Documentation

Sort data in lists of length 9 within spash_swim_parse

Description

Sort data in lists of length 9 within spash_swim_parse

Usage

splash_length_9_sort(
  x,
  heat_lane_string = Heat_Lane_String,
  time_score_string = Time_Score_String,
  time_score_specials_string = Time_Score_Specials_String
)

Arguments

x

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

heat_lane_string

a regex string for matching heat-lane pairs

time_score_string

a regex string for matching results (times and scores) but not special strings like DQ

time_score_specials_string

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

Value

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


SwimmeR documentation built on March 31, 2023, 8:27 p.m.