http://catapultr.catapultsports.com - the catapultR package home.
The set of available events is controlled by available sport plugins. The modules allocated to a user account control the plugins that are available. Modules are allocated by Catapult support staff.
token <- ofCloudGetToken("APAC", "sergey", "password", "clientID", "clientSecret")
to <- as.integer(Sys.time()); from <- to - 7*24*60*60
activities <- ofCloudGetActivities(token, to = to, from = from)
athletes <- ofCloudGetAthletesInActivity(token, activities$id[1])
events <- ofCloudGetActivityEvents(token, athletes$id[1], activities$id[1], c("ima_acceleration", "ima_impact"))
eventsAcceleration <- events[["ima_acceleration"]]
eventsImpact <- events[["ima_impact"]]