powered by
This function extracts the text content from a PDF file and splits it into individual lines.
read_pdf_content(file_path)
A character vector, where each element is a line from the PDF content.
Character. The path to the PDF file.
InputPath <- system.file("extdata", package = "ORscraper") files <- read_pdf_files(InputPath) lines <- read_pdf_content(files[1]) head(lines)
Run the code above in your browser using DataLab