Writes a tibble to RDS (and optionally CSV) in dir. Default dir is
resolved with here::here() so the path is anchored to the project
root rather than the current working directory.
cache_podcast_data(
x,
dir = here::here("data_cache"),
filename = NULL,
csv = TRUE
)Invisibly returns the path(s) written, or NULL for empty input.
if (FALSE) { # \dontrun{
atp <- atp_get_episodes(page_limit = 1)
cache_podcast_data(atp, csv = FALSE)
} # }