% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing.R
\name{process_pdf_file_py}
\alias{process_pdf_file_py}
\title{Process PDF File using Python}
\usage{
process_pdf_file_py(file_path, content_type = "auto", envname = NULL)
}
\arguments{
\item{file_path}{Character string path to PDF file}

\item{content_type}{Character string: "auto", "text", or "tabular"
If "auto", will detect content type automatically}

\item{envname}{Character string, name of Python virtual environment
(default: "textanalysisr-env")}
}
\value{
List with:
\itemize{
\item data: Data frame with extracted content
\item type: Character string indicating content type
\item success: Logical indicating success
\item message: Character string with status message
}
}
\description{
Main function to process PDF files using pdfplumber (Python).
Automatically detects content type and extracts data accordingly.
No Java required.
}
\details{
This function uses Python's pdfplumber library which:
\itemize{
\item Handles both text and tables
\item No Java dependency
\item Better accuracy than tabulizer for complex tables
\item Uses TextAnalysisR Python environment
}
}
\concept{pdf}
\keyword{internal}
