key {tangram} | R Documentation |
Key derivation helper function
Description
This function should generate a string that uniquely identifies a piece of data present in a table. In a report with multiple tables the id is used to preserve uniqueness.
Usage
key(x, id)
Arguments
x |
cell object to derive key for |
id |
the unique id of the table being keyed |
Details
This function relies on the object being keyed having at a minimum
character attributes for row
and col
. Additional
specifies for embedded tables are given with subrow
and
subcol
. The row
and col
are automatically
appended when using a table_builder
. However the
subrow
and subcol
must be added by the user to
a cell of a table.
[Package tangram version 0.8.2 Index]