fotmob_get_matches_by_date: Get fotmob match results by date

View source: R/fotmob_matches.R

fotmob_get_matches_by_dateR Documentation

Get fotmob match results by date

Description

Returns match results for all matches played on the selected date from fotmob.com

Usage

fotmob_get_matches_by_date(dates)

Arguments

dates

a vector of string-formatted dates in "Ymd" format, e.g. "20210926". An attempt is made to coerce the input to the necessary format if a date is passed in.

Value

returns a dataframe of match results

Examples


try({
library(dplyr)
library(tidyr)

results <- fotmob_get_matches_by_date(date = c("20210925", "20210926"))
results %>%
  dplyr::select(primary_id, ccode, league_name = name, match_id)
})



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