pkgdown/mathjax-config.html

Skip to contents

Key Definition

Define and manage keys

key() `key<-`()
Define a key for a data frame
unkey()
Remove key from a data frame
has_key()
Check if data frame has a key
get_key_cols()
Get key column names
key_is_valid()
Check if the key is still valid
bind_keyed()
Bind rows of keyed data frames

Assumption Checks

Validate data assumptions

assume_unique()
Assert that columns are unique
assume_no_na()
Assert that columns have no missing values
assume_complete()
Assert that data is complete (no missing values anywhere)
assume_coverage()
Assert minimum coverage of values
assume_nrow()
Assert row count within expected range

Join Diagnostics

Analyze joins before executing

diagnose_join()
Diagnose a join before executing

Row Identity

Stable UUIDs for lineage tracking

add_id()
Add identity column
has_id()
Check if data frame has IDs
get_id()
Get ID column
remove_id()
Remove ID column
extend_id()
Extend IDs to new rows
make_id()
Create ID from columns
bind_id()
Bind data frames with ID handling
check_id()
Check ID integrity
check_id_disjoint()
Check IDs are disjoint across datasets
compare_ids()
Compare IDs between data frames

Drift Detection

Track changes over time

commit_keyed()
Commit a keyed data frame as reference
check_drift()
Check for drift from committed snapshot
clear_snapshot()
Clear snapshot for a data frame
list_snapshots()
List all snapshots in cache
clear_all_snapshots()
Clear all snapshots from cache

Diagnostics

Inspect and compare data

key_status()
Get key status summary
compare_structure()
Compare structure of two data frames
compare_keys()
Compare key values between two data frames
find_duplicates()
Find duplicate keys
summary(<keyed_df>)
Summary method for keyed data frames