Learn R Programming

aRbs (version 0.1.3)

oddschecker2: Find the odds of each outcome of an event from www.oddschecker.com

Description

Find the odds for each of the listed outcomes of an event on www.oddschecker.com, for each of the listed bookies. This function is essentially a re-exported fix of the function oddschecker from the gambleR package.

Usage

oddschecker2(event, in_play = TRUE)

Arguments

event

A www.oddschecker.com event path, given as a string. This is essentially an event URL with the "www.oddschecker.com/" base removed.

in_play

Logical. Should in-play arbitrage opportunities (arbs) also be returned? If FALSE and event is in-play, then a NULL data.frame is returned.