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

cache

(logical(1)) Toggle the httr2 HTTP cache. Default TRUE. Disk writes are not performed by this function; call cache_podcast_data() explicitly if you want RDS/CSV artefacts.

Value

A tibble.

Examples

if (FALSE) { # \dontrun{
atp_new <- atp_get_episodes(page_limit = 1)
atp_full <- atp_get_episodes()
} # }