# Create sample data with issues
orders <- data.frame(
order_id = 1:5,
customer_id = c("A", "B", "B", "C", "D ")
)
customers <- data.frame(
customer_id = c("A", "B", "C", "E"),
name = c("Alice", "Bob", "Carol", "Eve")
)
# Get diagnostic report
join_spy(orders, customers, by = "customer_id")
Run the code above in your browser using DataLab