atp_get_episodes | R Documentation |
Retrieve ATP episodes
atp_get_episodes(page_limit = NULL, cache = TRUE)
page_limit |
Number of pages to scrape, from newest to oldest episode.
Page 1 contains the 5 most recent episodes, and subsequent pages contain 50
episodes per page. As of December 2020, there are 10 pages total.
Pass |
cache |
( |
A tibble.
## Not run:
# Only the first page with the newest 5 episodes
atp_new <- atp_get_episodes(page_limit = 1)
# The latest and then 50 more
atp_latest <- atp_get_episodes(page_limit = 2)
# Get all episodes (use wisely)
atp_full <- atp_get_episodes()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.