durtal/betfaiR

data returned from markets

durtal opened this issue · 2 comments

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

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.

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