Learn R Programming

ORscraper (version 0.1.0)

read_pdf_content: Read content from a PDF file

Description

This function extracts the text content from a PDF file and splits it into individual lines.

Usage

read_pdf_content(file_path)

Value

A character vector, where each element is a line from the PDF content.

Arguments

file_path

Character. The path to the PDF file.

Examples

Run this code
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