Description Usage Arguments Value Examples
formatVenue
is a simple function that converts Betfair API venues to
OddsChecker compatible venues (lower case hypehnated separated strings). The
venue nomenclature appears quite consistent in the UK and Ireland. However,
especially in the Americas, Betfair and Oddschecker may have different names
for the same venue. To allow Betfair API data to be combined with scraped
OddsChecker data, we need to ensure that venue names match up. The list of
venues is not necessarily exhausitive and potential omissions should be
raised as issue or pull request.
1 | formatVenue(venue)
|
venue |
string. The name of the horse racing venue to be converted. |
A string of the Oddschecker compatible venue is returned.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Simple venue conversion
formatVenue("Emerald Downs")
# Example where Betfair and Oddschecker differ significantly
formatVenue("Parx Racing At Philadelphia Park")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.