SomeRandomGuys / fantasy_football_rails_app

A fantasy football application in Ruby on Rails, duh!
3 stars 1 forks source link

Player names are a mess #6

Open a2l2 opened 11 years ago

a2l2 commented 11 years ago

We need to find a better way to deal with player names. The names present in db/players.txt don't always match up to the names as represented in the game stats. As I see it there are 3 issues:

  1. Some names have special meta characters. The player names on the game stats don't have these meta characters. Suggest cleaning up the names to only use simple english alphabets.
  2. The names presented on the game stats pages don't use the full last/first name of the players. Instead of changing the db, I suggest doing something like: if first_name + last_name in [db_first_name + db_last_name]: return True else: return False
  3. Some players real names are completely different from what they're commonly used names are, eg: Nani. If we can modify the database to parse an extra column, "Nicknames/Commonly Known As", then we can match against that.