lines_sort: Sorts and collects lines by performance and row number

View source: R/lines_sort.R

lines_sortR Documentation

Sorts and collects lines by performance and row number

Description

Collects all lines, (for example containing splits or relay swimmers) associated with a particular performance (a swim) into a data frame with the appropriate row number for that performance

Usage

lines_sort(x, min_row = minimum_row, to_wide = TRUE)

Arguments

x

a list of character strings including performances, with tow numbers added by add_row_numbers

min_row

the lowest row number

to_wide

should the data frame x be converted to wide format? Default is TRUE as used in Hytek and Omega results. Use FALSE in Splash results

Value

a data frame with Row_Numb as the first column. Other columns are performance elements, like splits or relay swimmers, both in order of occurrence left to right

See Also

lines_sort is a helper function inside splits_parse and swim_parse_ISL


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