Access Data from the 'Impect' API


[Up] [Top]

Documentation for package ‘impectR’ version 2.6.0

Help Pages

getAccessToken Get an access token from the 'Impect' Customer API
getData Send a request to any 'IMPECT' API endpoint and return the response as a flattened dataframe
getEvents Return a dataframe that contains all events and kpi values for a set of given match IDs
getFormations Return a dataframe that contains all starting formations for a set of given match IDs
getIterations Return a dataframe containing all iterations available to the user
getMatches Return a dataframe with basic information for all matches for a given iteration ID
getMatchPredictions Return a dataframe that contains match predictions for a given iteration ID
getPlayerIterationAverages Return a dataframe that contains all player averages for a given iteration ID
getPlayerIterationScores Return a dataframe that contains all player scores for a given iteration ID
getPlayerMatchScores Return a dataframe that contains all player scores for a given match ID and list of positions
getPlayerMatchsums Return a dataframe that contains all player matchsums for a given match ID
getPlayerProfileScores Return a dataframe that contains all player profile scores for a given iteration ID
getSetPieces Return a dataframe that contains all set pieces and aggregated kpi values per set piece sub phase for a set of given list of match IDs
getSquadCoefficients Return a dataframe that contains squad ratings for a given iteration ID
getSquadIterationAverages Return a dataframe that contains all squads averages for a given iteration ID
getSquadIterationScores Return a dataframe that contains all squads scores for a given iteration ID
getSquadIterationStyleOfPlay Return a dataframe that contains the squad style of play values for a given iteration ID
getSquadMatchScores Return a dataframe that contains squad level scores and ratios for a given match ID
getSquadMatchStyleOfPlay Return a dataframe that contains the squad style of play values for the given match IDs
getSquadMatchsums Return a dataframe that contains squad level matchsums for a given match ID
getSquadRatings Return a dataframe that contains squad ratings for a given iteration ID
getStartingPositions Return a dataframe that contains all starting positions for a set of given match IDs
getSubstitutions Return a dataframe that contains all line-up changes for a set of given match IDs
getVideoClips Cut a video clip around each event of an events dataframe and merge them into a single video file
TokenBucket TokenBucket Class
TokenBucket-class TokenBucket Class