emr_track.dbs {naryn}R Documentation

Returns a vector of db ids which have a version of the track

Description

emr_track.dbs returns all the databases which have a version of the track, while emr_track.current_db returns the database from which 'naryn' currently takes the track according to the override rules.

Usage

emr_track.dbs(track, dataframe = FALSE)

emr_track.current_db(track, dataframe = FALSE)

Arguments

track

one or more track names

dataframe

return a data frame with with columns called 'track' and 'db' instead of a vector of database ids.

Value

A named vector of db ids for each track. If dataframe is TRUE - returns a data frame with columns called 'track' and 'db' with the track and database ids (multiple rows per track in the case of emr_track.dbs).

See Also

emr_track.info

Examples


# both db1 and db2 have a track named 'categorical_track'
emr_db.init_examples(2)
emr_track.dbs("categorical_track")
emr_track.dbs(emr_track.ls())

emr_track.current_db("categorical_track")
emr_track.current_db(emr_track.ls())


[Package naryn version 2.6.26 Index]