# best_duplicate

    Code
      suppressMessages(best_duplicate(df1, id = "id"))
    Output
        id item1 item2 item3
      1  1     2     2     2
      2  2     1     1     1
      3  3     1     1     1

