Returns value of a track variable.

emr_track.var.get(track, var)

Arguments

track

track name

var

track variable name

Value

Track variable value. If the variable does not exists, NULL is returned.

Details

This function returns the value of a track variable. If the variable does not exist NULL is returned.

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")