get_team_stats: Parse a rugbypass.com url to retrieve team level stats

Description Usage Arguments Value

View source: R/getTeamStats.R

Description

Extract the team statistics from a rugbypass match url. These urls identify an individual game and end in ".../stats/"

Usage

1
get_team_stats(data, is_html = FALSE, wide = TRUE)

Arguments

data

a rugbypass.com url to retrieve data from. Can aslo be previously extracted html

is_html

is the data a url or extracted html. Default is FALSE i.e. the data variable holds a url

wide

return the data in wide or long format. Deafult is TRUE for wide data

Value

Returns tibble with containing player level statistics from rugbypass.com


jebbd/rrugby documentation built on Jan. 15, 2021, 11:33 p.m.