format_results {SwimmeR} | R Documentation |
Formats data for analysis within swim_parse
Description
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.
Usage
format_results(df)
Arguments
df |
a data frame of results at the end of |
Value
returns a formatted data frame
See Also
splits_parse
runs inside swim_parse
on the
output of read_results
with row numbers from
add_row_numbers
[Package SwimmeR version 0.14.2 Index]