Description Usage Arguments Details Value
Extract Top Times
1 2 3 |
con |
a database connection. |
conference |
a character vector with the name of an NCAA swimming conference. If not provided the output include all conferences. |
team_name |
A character vector with the name of an NCAA swimming conference. If not provided the output include all teams. |
team_code |
a character vector with the team code of an NCAA swimming team If not provided the output include all teams. |
gender |
a character vector. Indicates the output should include men, women or both. Defaults to "Both". Other options are "M" for men and "F" for women. |
athlete |
a character vector with the name or athlete id of a swimmier. If not provided the results include all swimmers. The athlete id follows the USA Swimming standard. |
event |
a character vector with the name of swimming envent. If not provided the results include all events. |
multiple_results |
a boolean indicator that determines if multiple results for the same athlete in a single event should be included in the output. |
top |
an integer indicating how many results to return per event. |
report_top_times
queries a SQL database to produce a ranking of swimmers in the specified events. The function is flexiable and can rank swimmers across all of Division 1, within a specific conference or within a team. It can also produce a ranking of an individual swimmer's resutls.
a data frame of ranked swimming results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.