Learn R Programming

crunch (version 1.30.4)

addVariables: Add multiple variables to a dataset

Description

This function lets you add more than one variable at a time to a dataset. If you have multiple variables to add, this function will be faster than doing ds$var <- value assignment because it doesn't refresh the dataset's state in between variable POST requests.

Usage

addVariables(dataset, ...)

Value

dataset with the new variables added (invisibly)

Arguments

dataset

a CrunchDataset

...

VariableDefinitions or a list of VariableDefinitions.