Assigns value to a track variable.

emr_track.var.set(track, var, value)

Arguments

track

track name

var

track variable name

value

value

Value

None.

Details

This function creates a track variable and assigns 'value' to it. If the track variable already exists its value is overwritten.

Examples


emr_db.init_examples()
#> NULL
emr_track.var.set("sparse_track", "test_var", 1:10)
emr_track.var.get("sparse_track", "test_var")
#>  [1]  1  2  3  4  5  6  7  8  9 10
emr_track.var.rm("sparse_track", "test_var")