Learn R Programming

worldfootballR (version 0.6.2)

get_match_shooting: Get match shooting event data

Description

Returns detailed player shooting data for home and away teams for a selected match(es)

Usage

get_match_shooting(match_url, time_pause = 3)

Value

returns a dataframe

Arguments

match_url

the fbref.com URL for the required match

time_pause

the wait time (in seconds) between page loads

Examples

Run this code
if (FALSE) {
try({
match <- "https://fbref.com/en/matches/bf52349b/Fulham-Arsenal-September-12-2020-Premier-League"
df <- get_match_shooting(match_url = match)
})
}

Run the code above in your browser using DataLab