library(tidyverse)
library(janitor)
library(worldfootballR)
FBref Big 5 player stats
Getting standard player stats. Goal is to look into cards.
Setup
Player stats
This is for all players in European top flight leagues for one year.
<- fb_big5_advanced_season_stats(
big5_player_stats_21 season_end_year=2021,
stat_type="standard",
team_or_player="player",
time_pause = 3) |>
clean_names()
big5_player_stats_21
That result could be treated like Team stats and turned into a function to download multiple years.