View source: R/get_player_data.R
get_player_data | R Documentation |
Scrapes player data from https://sofifa.com.
get_player_data(player_code)
player_code |
Code associated with a player. Get list of player codes for a given team / date with sfscrape::get_players. Value should be a url suffix like "/player/210257/ederson-santana-de-moraes/220006/" |
df with cols "attribute" and "rating"
sfscrape::get_player_data("/player/210257/ederson-santana-de-moraes/220006/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.