fb_match_shooting: Get FBref match shooting event data

View source: R/get_match_shooting.R

fb_match_shootingR Documentation

Get FBref match shooting event data

Description

Returns detailed player shooting data for home and away teams for a selected match(es) Replaces the deprecated function get_match_shooting

Usage

fb_match_shooting(match_url, time_pause = 3)

Arguments

match_url

the fbref.com URL for the required match

time_pause

the wait time (in seconds) between page loads

Value

returns a dataframe

Examples

## Not run: 
try({
match <- "https://fbref.com/en/matches/bf52349b/Fulham-Arsenal-September-12-2020-Premier-League"
df <- fb_match_shooting(match_url = match)
})

## End(Not run)


worldfootballR documentation built on Nov. 26, 2022, 9:05 a.m.