1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Cleaning Data in R

Connected

Bài tập

Comparing pairs

Now that you've generated the pairs of restaurants, it's time to compare them. You can easily customize how you perform your comparisons using the by and default_comparator arguments. There's no right answer as to what each should be set to, so in this exercise, you'll try a couple options out.

dplyr and reclin are loaded and zagat and fodors are available.

Hướng dẫn 1/2

undefined XP
  • 1
    • Compare pairs by name using lcs() distance.
  • 2
    • Compare pairs by name, phone, and addr using jaro_winkler().