Learn R Programming

pbox (version 0.1.8)

q_parser,ANY-method: Method for Parsing Queries

Description

Implements the `q_parser` function specifically for string input. It uses a regular expression to split the query into its components, converting numeric strings to numeric values where applicable, and structuring the result as a data table for easy manipulation.

Usage

# S4 method for ANY
q_parser(query)

Value

A data table with the parsed elements of the query.

Arguments

query

A string representing the query.

See Also

q_parser for the generic function definition.