uss_make_matches: Make a standard league-play tibble

View source: R/matches.R

uss_make_matchesR Documentation

Make a standard league-play tibble

Description

Given a league-play data frame from {engsoccerdata}, returns a tibble with standardised column-names and types, e.g. date is a Date.

Usage

uss_make_matches(data_engsoc, country)

Arguments

data_engsoc

obtained from engsoccerdata.

country

character scalar, specifies the league.

Value

a tibble with columns country, date, season, tier, home, visitor, goals_home, goals_visitor.

Examples

uss_make_matches(engsoccerdata::spain, "Spain")

ijlyttle/ussie documentation built on July 18, 2022, 9:43 a.m.