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

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

if (FALSE) {
library(dplyr)
library(tidyr)

results <- fotmob_get_matches_by_date(date = c("20210925", "20210926"))
results %>%
  dplyr::select(primaryId, ccode, league_name = name, matches) %>%
  tidyr::unnest_longer(matches)
}