View source: R/fetch_head_to_head.R
fetch_head_to_head | R Documentation |
This function extracts head-to-heads for WTA and ATP players from http://www.stevegtennis.com
fetch_head_to_head(player1, player2, atp = TRUE)
player1 |
Character name of player (must match name used by source) |
player2 |
Character name of player (must match name used by source) |
atp |
Logical indicator for ATP or WTA |
data frame of match activity and results
year. Numeric of year of match
tournament. Character name of tournament
round. Character of round of match
surface. Character of surface
winner. Character name of winner of match
loser. Character name of loser of match
score. Character of score
fetch_head_to_head("Rafael Nadal", "Roger Federer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.