Variable$get

Variable$get(wait_for_statistics=FALSE) → self

Fetches the variable, after which variable$properties will contain a named list with entries corresponding to the properties on the variable resource definition. Will raise an error if the variable does not exist.

Returns:

self (a Variable)

Examples:

table <- redivis$organization("Demo")$dataset("iris_species")$table("iris")

variable <- table$variable("sepalLengthCm")

variable$exists() # -> TRUE
variable$get() 

print(variable$properties)

{
	"kind": "variable",
	... (see variable resource definition)
}

Last updated

Was this helpful?