format_results: Formats data for analysis within 'swim_parse'

View source: R/format_results.R

format_resultsR 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 swim_parse

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


gpilgrim2670/SwimmeR documentation built on March 26, 2023, 5:05 p.m.