Learn R Programming

crunch (version 1.3.2)

prepareBindInputs: Internal function to gather variable URLs for binding

Description

Exported only for nonstandard evaluation in makeArray and makeMR

Usage

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

Arguments

list_of_variables
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 a
dataset
the Crunch Dataset to which the variables in list_of_variables belong, or in which to search for variables based on pattern. If omitted, list_of_variables must exist and all Variables in the list must belong to the s
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"