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

\item{envname}{Character string, name of Python virtual environment
(default: "textanalysisr-env")}
}
\value{
Character string: "tabular", "text", or "unknown"
}
\description{
Analyzes PDF to determine if it contains primarily tabular data or text.
}
\examples{
if (interactive()) {
setup_python_env()

pdf_path <- "path/to/document.pdf"
content_type <- detect_pdf_content_type_py(pdf_path)
print(content_type)
}
}
\concept{pdf}
\keyword{internal}
