Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, ...)

Arguments

dataset

a CrunchDataset

...

VariableDefinitions or a list of VariableDefinitions.

Value

dataset with the new variables added (invisibly)


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.