Learn R Programming

crunch (version 1.12.2)

prepareBindInputs: Internal function to gather variable URLs for binding

Description

Exported only for nonstandard evaluation in makeArray and makeMR

Usage

prepareBindInputs(subvariables = NULL, dataset = NULL, pattern = NULL, key = namekey(dataset), ...)

Arguments

subvariables
a list of Variable objects to bind together, or a Dataset object containing only the Variables to bind (as in from subsetting a Dataset), or values (e.g. names) of variables corresponding to key. If omitted, must supply dataset and pattern. If specifying values, must include dataset.
dataset
the Crunch Dataset to which the variables in subvariables belong, or in which to search for variables based on pattern. If omitted, subvariables must exist and all Variables in the list must belong to the same Dataset
pattern
An optional regular expression to search for variables to bind within dataset.
key
character, the name of the Variable field in which to search with pattern. Default is 'alias'.
...
additional arguments, which are ignored

Value

a list with two elements: "dataset" and "variable_urls"