# NOT RUN {
comps <- competitions(username, password)
competitionmatrix = comps[,c(1,2,4,6)]
competitionmatrix <- competitionmatrix
# }
# NOT RUN {
<!-- %>% -->
# }
# NOT RUN {
filter(competition_name=="Serie A" | competition_name=="La Liga")
# }
# NOT RUN {
<!-- %>% -->
# }
# NOT RUN {
filter(season_name=="2020/2021" )
sbdata <- player_match_multicomp(username = "insert_your_username", password = "insert_your_password",
competitionmatrix, version = "v5",
baseurl = "https://data.statsbombservices.com/api/", parallel = TRUE, cores = detectCores())
# }
Run the code above in your browser using DataLab