tf_parse | R Documentation |
Outputs a data frame containing track and field data
tf_parse(
file,
avoid = avoid_default,
typo = typo_default,
replacement = replacement_default,
relay_athletes = FALSE,
rounds = FALSE,
round_attempts = FALSE,
split_attempts = FALSE,
splits = FALSE,
split_length = 1
)
file |
a .pdf or .html file (could be a url) where containing track and field results. Must be formatted in a "normal" fashion - see vignette |
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 |
relay_athletes |
should |
rounds |
should |
round_attempts |
should |
split_attempts |
should |
splits |
either |
split_length |
either the distance at which splits are collected
(must be constant distance) or the default, |
a data frame of track and field results
tf_parse
is meant to be preceded by
read_results
tf_parse(
read_results("https://www.flashresults.com/2018_Meets/Outdoor/05-05_A10/015-1.pdf"),
rounds = TRUE,
round_attempts = TRUE,
split_attempts = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.