hy3_parse {SwimmeR} | R Documentation |
Parses Hy-Tek .hy3 files
Description
Helper function used inside 'swim_parse' for dealing with Hy-Tek .hy3 files. Can have more columns than other 'swim_parse' outputs, because .hy3 files can contain more data
Usage
hy3_parse(
file,
avoid = avoid_minimal,
typo = typo_default,
replacement = replacement_default
)
Arguments
file |
output from |
avoid |
a list of strings. Rows in |
typo |
a list of strings that are typos in the original results.
|
replacement |
a list of fixes for the strings in |
Value
returns a data frame with columns Name
, Place
,
Age
, Team
, Prelims
, Finals
, &
Event
. May also contain Seed_Time
, USA_ID
, and/or
Birthdate
. Note all swims will have a Finals
, even if
that time was actually swam in the prelims (i.e. a swimmer did not qualify
for finals). This is so that final results for an event can be generated
from just one column.
See Also
parse_hy3
must be run on the output of
read_results
parse_hy3
runs inside of swim_parse