competitions: This function returns all competitions that StatsBomb has...

View source: R/competitions.R

competitionsR Documentation

This function returns all competitions that StatsBomb has data for.

Description

This function easily scrapes the competitions available from the StatsBomb API.

Usage

competitions(username, password)

Arguments

username

Character string of your StatsBomb API username.

password

Character string of your StatsBomb API password.

version

Character string of the version of the StatsBomb API you wish to access. Currently version v1 and v2 are supported.

Value

df

Returns a data frame with all competitions available.

Examples

competitions(username, password)

statsbomb/StatsBombR documentation built on Dec. 3, 2024, 11:53 p.m.