Learn R Programming

crunch (version 1.24.0)

locateEntity: Find an entity in an order object

Description

Find an entity in an order object

Usage

locateEntity(x, ord)

Arguments

x

Variable or Dataset, depending on the type of order, or URL for it

ord

ShojiOrder (VariableOrder or DatasetOrder)

Value

If x is found in ord, a character vector of group names that provide the "path" to the entity. The length of the vector corresponds to the depth of nesting. If not found, NA is returned