Retrieves podcast metadata (i.e. date, title, mp3 duration and URL). Information will be saved in a CSV file. Each time this function is called only new episodes will be added.
get_metadata(podcast, radio = "franceinter", path = ".", na_rm = TRUE)
a character of length 1. The name of the podcast.
a character of length 1. The name of the radio. Must one among
franceinter
(default), franceinfo
, francebleu
, franceculture
,
francemusique
, fip
, or mouv
.
a character of length 1. The folder to save metadata as CSV.
a logical. If TRUE
(default) remove episodes with incomplete
information.
A four-columns data frame with:
date
: the date of the episode;
title
: the title of the episode;
duration
: the duration of the episode (in seconds);
file_url
: the URL of the mp3.
if (FALSE) {
## Retrieve episodes metadata ----
tab <- get_metadata("un-ete-avec-homere", radio = "franceinter")
}