I'm trying to have a data frame that is able to contain audio. Downloaded an mp3 given a link and then want to save that audio in a data frame or other form if possible.
library(tuneR)
# Website
verb_formen <- "https://www.verbformen.de/konjugation/infinitiv/"
# List of Verbs
verb_list <- c("analysieren", "formen", "erstellen")
# Empty List for Audio
audio_list <- vector(length = length(verb_list))
# Getting Audio for Each
for (x in 1:length(audio_list)){
verb_link <- paste(verb_formen,verb_list[x], ".mp3", sep = "")
audio_list[x] <- download.file(verb_link, paste("audio_",verb_list[x],".mp3"),mode="wb")
}
data.frame(verb_list, audio_list)