Keep track of restaurant openings and closures in the city. https://twitter.com/BLRFoodCensus
Go to file
Nemo 272053df38 write file to date 2018-03-30 13:50:03 +05:30
.gitignore Adds parser and CSV generator 2018-01-02 00:45:51 +05:30
Gemfile Removes unused gems 2018-01-02 07:04:08 +05:30
Gemfile.lock Removes unused gems 2018-01-02 07:04:08 +05:30
README.md How to get a diff 2018-01-15 02:08:10 +05:30
bootstrap.sh Minor style changes 2018-01-15 02:01:40 +05:30
parse_dir.rb Initial commit 2018-01-02 00:19:07 +05:30
parse_listing.rb write file to date 2018-03-30 13:50:03 +05:30
parse_restaurants.rb Minor changes 2018-01-06 19:37:40 +05:30

README.md

bengaluru-food-census

Keep track of restaurant openings and closures in the city.

Quirks

  • Zomato does not support HTTP/1.1, so wget can't be used.

Tech

This project uses GNU Parallel, Ruby, Nokogiri, and curl.

Features

  • Keep track of historical data using regularly generated CSV files
  • Does not use the API (since the rate-limit is too low at 1k/day)
    • We need to checkout around 15k restaurant status (closed or not)
  • Keep track of whether restaurant is still alive or not
  • Tweet any restaurant closures (or any new openings)

For now, run the following command to get a diff of new restaurants not in the old listings:

q -d , "SELECT * from ./15-01-2018.csv WHERE c1 not in (SELECT c1 from 06-01-2018.csv)"