format_results {SwimmeR} | R Documentation |
swim_parse
Takes the output of read_results
and, inside of swim_parse
,
removes "special" strings like DQ and SCR from results, replacing them with
NA. Also ensures that all athletes have a Finals, by moving over
Prelims. This makes later analysis much easier.
format_results(df)
df |
a data frame of results at the end of |
returns a formatted data frame
splits_parse
runs inside swim_parse
on the
output of read_results
with row numbers from
add_row_numbers