gtrack.dbs: Returns the database paths that contain track(s)

View source: R/track-management.R

gtrack.dbsR Documentation

Returns the database paths that contain track(s)

Description

Returns all database paths that contain a version of a track.

Usage

gtrack.dbs(track = NULL, dataframe = FALSE)

Arguments

track

track name or a vector of track names

dataframe

return a data frame with columns track and db instead of a named character vector.

Details

When datasets are loaded, a track may exist in multiple locations (working database and/or datasets). This function computes on-demand and returns all such paths, which is useful for debugging when using force=TRUE with gdataset.load().

Value

A named character vector of database paths for each track. If dataframe is TRUE, returns a data frame with columns track and db, with multiple rows per track when it appears in multiple databases.

See Also

gtrack.dataset, gtrack.exists, gtrack.ls, gdataset.ls

Examples



gdb.init_examples()
gtrack.dbs("dense_track")
gtrack.dbs(gtrack.ls(), dataframe = TRUE)


misha documentation built on Jan. 28, 2026, 1:07 a.m.