gtrack.attr.export | R Documentation |
Returns track attributes values.
gtrack.attr.export(tracks = NULL, attrs = NULL)
tracks |
a vector of track names or 'NULL' |
attrs |
a vector of attribute names or 'NULL' |
This function returns a data frame that contains track attributes values. Column names of the data frame consist of the attribute names, row names contain the track names.
The list of required tracks is specified by 'tracks' argument. If 'tracks' is 'NULL' the attribute values of all existing tracks are returned.
Likewise the list of required attributes is controlled by 'attrs' argument. If 'attrs' is 'NULL' all attribute values of the specified tracks are returned. The columns are also sorted then by "popularity" of an attribute, i.e. the number of tracks containing this attribute. This sorting is not applied if 'attrs' is not 'NULL'.
Empty character string in a table cell marks a non-existing attribute.
A data frame containing track attributes values.
gtrack.attr.import
, gtrack.attr.get
,
gtrack.attr.set
gdb.init_examples()
gtrack.attr.export()
gtrack.attr.export(tracks = c("sparse_track", "dense_track"))
gtrack.attr.export(attrs = "created.by")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.