Retrieve ATP episodes

atp_get_episodes(page_limit = NULL, cache = TRUE)

Arguments

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 NULL (default) to get all pages.

cache

(logical(1)) Set to FALSE to disable caching.

Value

A tibble.

Examples

if (FALSE) { # \dontrun{
# 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()
} # }