checkJoin checks for flags (9) in joinFulcrum output.

checkJoin(data, return_flags = FALSE)

Arguments

data

dataframe output of joinFulcrum.

return_flags

set to TRUE if flagged rows are to be returned as a dataframe.

Value

c_labels and s_labels (as appropriate) for rows with each of the six flags, and the origin of the location of the raw data that triggered the flag the rows corresponding to these labels can be saved as a list of six dataframes when return is set to TRUE

Details

This check function will return c_labels and s_labels for various flags relating to missing or duplicated data. Messages regarding what checks are being done, and where they lie in the raw dataframes is also provided. We advise returning to the raw dataframes using the information returned in these checks to better understand issues that may have occurred during data collection, before re-running.