get.playerfootedness: This function returns defines a player's footedness based on the percent of time they use each foot.
Description
For use with the StatsBomb Data API credentials. This function is used to access the JSON file from the StatsBomb API and format it as a data frame (tibble) for use in R. This function returns defines a player's footedness based on the percent of time they use each foot.
Usage
get.playerfootedness(Passes)
Arguments
Passes
Data frame with passes, pass body part name and player name and id.
Value
df
Data frame of the percent of time each player uses each foot, and their dominant foot defined by the greater percent.