joyn0.3.0 package

Tool for Diagnosis of Tables Joins and Complementary Join Features

anti_join

Anti join on two data frames

arguments_checks

Perform necessary preliminary checks on arguments that are passed to j...

check_by_vars

Check by input

check_dt_by

Check dt by vars

check_duplicate_names

Check if vars in dt have duplicate names

check_match_type

Check match type consistency

check_new_y_vars

Rename vars in y so they are different to x's when joined

check_reportvar

Check reporting variable

check_unmatched_keys

Conduct all unmatched keys checks and return error if necessary

check_var_class

Check join variable class

check_xy

Check tables X and Y

check_y_vars_to_keep

Check variables in y that will be kept in returning table

clear_joynenv

Clearing joyn environment

correct_names

Function used to correct names in input data frames using by argumen...

create_ids

Create variables that uniquely identify rows in a data table

filter_vars

Auxiliary function to select vars of data table

freq_table

Tabulate simple frequencies

full_join

Full join two data frames

get_joyn_options

Get joyn options

inner_join

Inner join two data frames

is_balanced

Is data frame balanced by group?

is_id

Check if dt is uniquely identified by by variable

is_match_type_error

Confirm if match type error

is_valid_m_key

Check whether specified "many" relationship is valid

joyn_msg

display type of joyn message

joyn_msgs_exist

Presence of joyn msgs in the environment

joyn_report

Print JOYn report table

joyn_workhorse

Internal workhorse join function, used in the back-end of joyn

joyn-package

joyn: Tool for Diagnosis of Tables Joins and Complementary Join Featur...

joyn

Join two tables

left_join

Left join two data frames

merge

Merge two data frames

msg_type_dt

convert style of joyn message to data frame containing type and messag...

possible_ids

Find possible unique identifies of data frame

process_by_vector

Process the by vector

rename_to_valid

Rename to syntactically valid names

report_from_attr

Report frequencies from attributes in report var

right_join

Right join two data frames

set_col_names

Add x key var and y key var (with suffixes) to x and y -when joining b...

set_joyn_options

Set joyn options

split_match_type

Split matching type

store_checked_ids

store checked variables as possible ids

store_joyn_msg

Wrapper for store_msg function This function serves as a wrapper for t...

store_msg

Store joyn message to .joynenv environment

style

style of text displayed

type_choices

Choice of messages

unmatched_keys

Check for unmatched keys

update_na_values

Update NA and/or values

Tool for diagnosing table joins. It combines the speed of `collapse` and `data.table`, the flexibility of `dplyr`, and the diagnosis and features of the `merge` command in `Stata`.

  • Maintainer: R.Andres Castaneda
  • License: MIT + file LICENSE
  • Last published: 2025-12-04