splits_reform: Adds together splits and compares to listed finals time to...

View source: R/splits_reform.R

splits_reformR Documentation

Adds together splits and compares to listed finals time to see if they match.

Description

Used in testing the workings for split_parse inside test-splits.R. Note that even properly handled splits may not match the finals time due to issues in the source material. Sometimes splits aren't fully recorded in the source. Some relays also will not match due to the convention of reporting splits by swimmer (see vignette for more details).

Usage

splits_reform(df)

Arguments

df

a data frame output from swim_parse created with splits = TRUE

Value

a data frame with a column not_matching containing TRUE if the splits for that swim match the finals time and FALSE if they do not


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