join_key | R Documentation |
Create a relationship between two datasets, dataset_1
and dataset_2
.
By default, this function establishes a directed relationship with dataset_1
as the parent.
If dataset_2
is not specified, the function creates a primary key for dataset_1
.
join_key(dataset_1, dataset_2 = dataset_1, keys, directed = TRUE)
dataset_1 , dataset_2 |
( |
keys |
(optionally named
|
directed |
(
|
object of class join_key_set
to be passed into join_keys
function.
join_keys()
, parents()
join_key("d1", "d2", c("A"))
join_key("d1", "d2", c("A" = "B"))
join_key("d1", "d2", c("A" = "B", "C"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.