phillc73 / abettor

An R package for connecting to the online betting exchange Betfair, via their API-NG product, using JSON-RPC.
Other
51 stars 36 forks source link

getAccountStatement now uses itemClassData rather legacyData and is m… #52

Closed Soccerama closed 3 years ago

Soccerama commented 3 years ago

…ore robust.

Addresses issue #51 which can now be closed. The function now uses fields from itemClassData rather than legacyData. This appears to include one new field, handicap. More importantly, it is being maintained by Betfair whereas legacyData presumably won't be. The code is easier to read and should more robust and less error prone.

Also fixed a minor error related to recordCountValue.