Skip to content

Instantly share code, notes, and snippets.

@mcomella
Created January 26, 2017 02:40
Show Gist options
  • Save mcomella/4a73c84a69dba97efff4105eb413c4d4 to your computer and use it in GitHub Desktop.
Save mcomella/4a73c84a69dba97efff4105eb413c4d4 to your computer and use it in GitHub Desktop.
From Ferry building:
35/50 are correct.
15/50 no results (13/50 w/ repairs?, 8 uncorrectable (not in TA, bad data)):
6/50 - Not in TA
* u'https://www.yelp.com/biz/prather-ranch-meat-company-san-francisco’,
* u'https://www.yelp.com/biz/capn-mikes-holy-smoke-san-francisco’,
* u'https://www.yelp.com/biz/takoba-san-francisco’,
* u'https://www.yelp.com/biz/chapter-2-coffee-san-francisco’,
* u'https://www.yelp.com/biz/il-canto-cafe-san-francisco-2’,
* u'https://www.yelp.com/biz/lous-cafe-san-francisco-5’]
5/50 - Name mismatch
* [u'https://www.yelp.com/biz/frog-hollow-farm-market-and-cafe-san-francisco’,
* "Frog Hollow Farm Market & Cafe”
* "Frog Hollow Farm"
* u'https://www.yelp.com/biz/mariposa-baking-san-francisco’,
* “Mariposa Baking”
* “Mariposa"
* u'https://www.yelp.com/biz/mourad-restaurant-san-francisco’,
* “Mourad Restaurant”
* “Mourad"
* u'https://www.yelp.com/biz/dragoneats-san-francisco-3’,
* “DragonEats"
* “dragonEats"
* u'https://www.yelp.com/biz/blue-bottle-coffee-stand-san-francisco’,
* “Blue bottle Coffee Stand”
* “Blue Bottle Coffee Ferry Building"
2/50 - Incorrect data in TA
* u'https://www.yelp.com/biz/barbarossa-lounge-san-francisco’,
* Wrong name: “Barbarossa” -> “Bubble Lounge”
* u'https://www.yelp.com/biz/cafe-algiers-san-francisco’,
* TA thinks closed
2/50 - Unicode oops? I assume we oops in python 2 and send bad data to TA API
* u'https://www.yelp.com/biz/se\xf1or-sisig-san-francisco-3’,
* TA has no accents though
* u'https://www.yelp.com/biz/la-mar-cebicher\xeda-peruana-san-francisco-4',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment