Description Usage Arguments See Also Examples
Intended to be called from data_check
, prints a warning if
there are rows in df_foreign with keys that aren't included in df_primary
1 | data_foreign_key(df_foreign, df_primary, key)
|
df_foreign |
data frame: table that stores key as foreign |
df_primary |
data frame: table that stores key as primary |
key |
character: name of variable that acts as key |
Other functions to check data format: data_check_table
,
data_check
, data_internal
,
variable_allowed_values
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.