hytek_length_6_sort: Sort data in lists of length 6 within 'hytek_swim_parse'

View source: R/hytek_list_sorters.R

hytek_length_6_sortR Documentation

Sort data in lists of length 6 within hytek_swim_parse

Description

Sort data in lists of length 6 within hytek_swim_parse

Usage

hytek_length_6_sort(
  x,
  name_string = Name_String,
  age_string = Age_String,
  para_string = Para_String,
  time_score_specials_string = Time_Score_Specials_String
)

Arguments

x

a list of lists with all sub-lists having length 6 strings

name_string

a regex string for matching athlete names

age_string

a regex string for matching athlete ages

para_string

a regex string for matching Paralympics classification strings

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 hytek_swim_parse


gpilgrim2670/SwimmeR documentation built on March 26, 2023, 5:05 p.m.