durtal / betfaiR

R package for the Betfair API
http://durtal.github.io/betfaiR/
Other
18 stars 6 forks source link

data returned from markets #3

Closed durtal closed 8 years ago

durtal commented 8 years ago

This relates specifically to the marketBook function.

Rather than have the user store any queries from the available methods in objects and leave them to explore the data, it might be beneficial to also store queries inside the betfair environment.

Providing them with functions (in the environment):

bf$findSelection()
bf$findMarketId

making it easier for them to explore that data.

OR

return an environment, with various functions to explore the data, return the raw data, etc.

suggestions welcome

durtal commented 8 years ago

returning an environment might be a good way to go, providing a number of methods to manipulate and supplement the data.

data returned by marketBook doesn't have the runners name, only selectionIds so combining this data with data returned by marketCatalogue provides a more complete dataset.

durtal commented 8 years ago

environment probably possible, but in meantime, issue closed as related to this