Skip to contents

Primary package functions

Find new, deleted, and changed rows, summarize the differences, and export a report.

compare_data()
Compare data (create new, deleted, and changed data)
compare_summary()
Summarize a data frame comparison (PROC-COMPARE-style headline stats)
compare_columns()
Compare the column structure of two data frames
create_new_data()
Create a table of new records
create_deleted_data()
Create a dataset of deleted records
create_changed_data()
Create changed data
create_modified_data()
Create modified data
create_comparison_report()
Create comparison report
compare_values()
Compare two vectors of values (base R)
diff_values_by_key()
Compare matched rows of two data frames by key (base R)
print(<dfdiffs_column_diff>)
Print a dfdiffs_column_diff object
print(<dfdiffs_summary>)
Print a dfdiffs_summary object

Utilities

Helpers for joining, selecting, and loading data.

create_join_column()
Create unique row identifier
create_new_column()
Create new (joining) column
rename_join_col()
Rename join column name
create_empty_tbl()
Create empty tibble
select_cols()
Select columns by name (base R)
anti_join_base()
Anti-join two data frames (base R)
left_join_base()
Left-join two data frames (base R)
cross_tabyl()
cross_tabyl
upload_data()
Upload data files
load_flat_file()
Load flat data files
`%nin%`
Not in

Shiny functions

The app, its modules, and its themes.

launch_app()
Launch the dfdiffs app
launch_app_dev()
launch_app_dev
launch_select_demo()
launch_select_demo
launch_upload_demo()
launch_upload_demo
app_ui()
Application UI
app_server()
Application server
mod_compare_server()
mod_compare_server
mod_compare_ui()
mod_compare_ui
mod_select_server()
mod_select_server
mod_select_ui()
mod_select_ui
mod_upload_server()
mod_upload_server()
mod_upload_ui()
mod_upload_ui()
dfdiffs_fresh_theme()
custom theme (bslib)
base_react_theme()
reactable theme (base data)
changed_react_theme()
reactable theme (changed data)
comp_react_theme()
reactable theme (compare data)
deleted_react_theme()
reactable theme (deleted data)
info_react_theme()
reactable theme (neutral info tables)
new_react_theme()
reactable theme (new data)

Example data

Simulated datasets used in examples, vignettes, and tests.

ChangedData
Changed/Modified Current Data (simulated data for checking modified data)
CompleteData
Complete Data (simulated data for checking 'deleted data')
DeletedData
Deleted Data (simulated data for checking deleted data)
IncompleteData
Incomplete Data (simulated data for checking deleted data)
InitialData
Changed/Modified Initial Data (simulated data for checking modified data)
NewData
NewData (difference between 'time-point 1' & 'time-point 2' data)
Roster2021
Roster2021 (synthetic site roster, year one)
Roster2022
Roster2022 (synthetic site roster, year two)
Roster2023
Roster2023 (synthetic site roster, year three)
Roster2024
Roster2024 (synthetic site roster, year four)
T1Data
T1Data (simulated 'time-point 1' data for checking 'new data')
T2Data
T2Data (simulated 'time-point 2' data for checking new data)