validate_table_relation.RdValidate table relations by recusively checking for the presence of key columns in other tables
validate_table_relation(tables_list, id_key = NULL, allowed_childless = NULL)A list of data.tables
A named vector of key ID columns and their respective table names
A character vector of tables that are allowed to have no child records. A common entry might be c('day', 'trip', 'linked_trip', 'tour') E.g., c('days', 'trips') we allow persons with no days and no trips.
TRUE if all table relations are valid