Learn R Programming

orderly (version 2.0.0)

orderly_query: Construct outpack query

Description

Construct an outpack query, typically then passed through to orderly_search()

Usage

orderly_query(expr, name = NULL, scope = NULL, subquery = NULL)

Value

An orderly_query object, which should not be modified, but which can be passed to orderly_search()

Arguments

expr

The query expression. A NULL expression matches everything.

name

Optionally, the name of the packet to scope the query on. This will be intersected with scope arg and is a shorthand way of running scope = list(name = "name")

scope

Optionally, a scope query to limit the packets searched by pars

subquery

Optionally, named list of subqueries which can be referenced by name from the expr.

See Also

vignette("dependencies") and vignette("query"), which discuss relationships between dependencies and the query DSL in more detail.

Examples

Run this code
orderly_query(quote(latest(name == "data")))

Run the code above in your browser using DataLab