Skip to contents

Convenience function returning upcoming matches within a date window.

Usage

get_upcoming_matches(
  format = "all",
  gender = "all",
  days_ahead = 30,
  source = c("remote", "local")
)

Arguments

format

Character. "t20i", "odi", "test", or "all" (default).

gender

Character. "male", "female", or "all" (default).

days_ahead

Integer. Number of days ahead to look. Default 30.

source

Character. "remote" (default) or "local".

Value

Data frame of upcoming fixtures.

Examples

if (FALSE) { # \dontrun{
# Upcoming T20Is in the next 2 weeks
get_upcoming_matches(format = "t20i", days_ahead = 14)
} # }