Description Usage Arguments Details
The primary key here is similar to the concept in relational DB.
It means the key uniquely identifies each record in the table. It's an important
attribute when x
is an information table, which is later quried / merged against
by other tables. A primary-keyed table can avoid duplicates in such cases.
1 | assert_pk(x)
|
x |
a |
Throws error unless x
has a key, contains no NA
values in key columns,
and is unique for key values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.