% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/awkreader_v2.R
\name{translate.filtering.statement}
\alias{translate.filtering.statement}
\title{Core Translation Pipeline for Filtering Expressions}
\usage{
translate.filtering.statement(
  the.filter,
  the.variables,
  envir = parent.frame(),
  and.symbol = "&",
  or.symbol = "|",
  in.symbol = "\%in\%",
  nin.symbol = "\%nin\%",
  equation.symbols = c(">=", ">", "<=", "<", "!=", "==")
)
}
\arguments{
\item{the.filter}{A character string or unquoted expression containing the R filtering statement.}

\item{the.variables}{A character vector containing the full ordered variable names from the data header.}

\item{envir}{The environment context in which variable evaluations are evaluated. Default is \code{.GlobalEnv}.}

\item{and.symbol}{A character tracking key for logical AND operations. Default is \code{"&"}.}

\item{or.symbol}{A character tracking key for logical OR operations. Default is \code{"|"}.}

\item{in.symbol}{A character tracking key for membership matching operations. Default is \code{"\%in\%"}.}

\item{nin.symbol}{A character tracking key for excluded membership operations. Default is \code{"\%nin\%"}.}

\item{equation.symbols}{A character vector listing the recognized relational comparison operators.
Default is \code{c(">=", ">", "<=", "<", "!=", "==")}.}
}
\value{
A character string representing the compiled logic statement formatted for direct injection into an AWK pipeline execution.
}
\description{
Orchestrates the parsing and conversion of R-style filtering strings
or logical statements into valid, executable AWK syntax expressions. Maps variables
to their positional column indices (e.g., \code{$1}, \code{$2}) and handles
operating-system-specific quote adjustments.
}
\keyword{internal}
