hytek_length_9_sort: Sort data in lists of length 9 within 'hytek_swim_parse'

View source: R/hytek_list_sorters.R

hytek_length_9_sortR Documentation

Sort data in lists of length 9 within hytek_swim_parse

Description

Sort data in lists of length 9 within hytek_swim_parse

Usage

hytek_length_9_sort(
  x,
  brit_id_string = Brit_ID_String,
  para_string = Para_String,
  age_string = Age_String,
  time_score_specials_string = Time_Score_Specials_String
)

Arguments

x

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

brit_id_string

a regex string for matching British swimming IDs

para_string

a regex string for matching Paralympics classification strings

age_string

a regex string for matching athlete ages

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


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