View source: R/JoinPlayerNickName.R
JoinPlayerNickName | R Documentation |
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.
JoinPlayerNickName(username = "username", password = "password", events)
username |
Character string of your StatsBomb API username. |
password |
Character string of your StatsBomb API password. |
events |
Data frame of the event data that you want to join nick names too. The match_ids must be present in the events data. |
df |
Returns a data frame with all events and nicknames joined. |
events <- JoinPlayerNickName(username = username, password = password, events)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.