load_match_comp_results | R Documentation |
Returns the game results for a competition(s), ie League cups or international competitions from FBref. comp_name comes from https://github.com/JaseZiv/worldfootballR_data/tree/master/data/match_results_cups#readme
load_match_comp_results(comp_name)
comp_name |
the three character country code |
returns a dataframe with the results of the competition name
try({ df <- load_match_comp_results( comp_name = "Coppa Italia" ) # for multiple competitions: cups <- c("FIFA Women's World Cup", "FIFA World Cup") df <- load_match_comp_results( comp_name = cups ) })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.