| tennis_data | R Documentation |
Imports ATP or WTA data from the website http://www.tennis-data.co.uk/.
tennis_data(YEAR, Circuit)
YEAR |
Year to consider, in |
Circuit |
Tennis circuit. Valid choices are |
The structure of the datasets provided by http://www.tennis-data.co.uk/ may vary across years. Therefore, before combining data from multiple seasons, users should verify that the variables are consistent across datasets and, if necessary, retain only the common columns.
A data frame containing the data for the selected year and circuit.
## Not run:
db <- tennis_data("2022", "ATP")
head(db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.