key_press: Prepare Confernce Selection To Be Passed RSelenium

Description Usage Arguments Details Value See Also

Description

An interal function used in individual_swims.

Usage

1
key_press(Conference)

Arguments

Conference

character string. The name of the conference for which the top times report should be run.

Details

An interal function used in individual_swims. It prepares a a list of characters that RSelenium passes to USA Swimming's Top Times Report. The output is used to select the Conference.

The function gathers the list of Confernces from the drop down menu on the Top Times Report. It finds all the conferences that have the same first letter as the one supplied to the function. The position of the supplied conference in this list is then used to generate a list which can be used by remoteDriver$sendKeysToElement. The number of elements in the list coresponds to the position of the confernce supplied to the function in the group of confernces that start with the same letter.

Value

a list. The number of elements in the list coresponds to the position of the confernce supplied to the function in the group of confernces that start with the same letter.

See Also

remoteDriver individual_swims get_conferences


warlicks/swimR documentation built on May 4, 2019, 12:59 a.m.