#' Read a single PDF into a character vector
#'
#' @param file A path to a file (either a single string or a raw vector)
#'
#' @return A character vector
#' @export
#'
#' @examples
#' \dontrun{
#' dat <- read_transcript('data/my_transcript.pdf')
#' }
read_transcript <- function(file) {
readr::read_lines(pdftools::pdf_text(file))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.