Variable$update
Variable$update(*, label=NULL, description=NULL, value_labels=NULL) → self
Parameters:
Returns:
Examples:
table <- redivis$organization("Demo")$dataset("iris_species")$table("iris")
variable <- table$variable("sepalLengthCm")
variable$update(label="Sepal length in centimeters",
description="A detailed description of how this variable was collected"
)
# Update value labels on another variable (this particular example is a bit contrived)
table$variable("Species")$update(list(
list(value="Iris-setosa", label="A detailed description about this value"),
list(value="Iris-versicolor", label="A detailed description about this other value"),
))Was this helpful?

