1 - double grouping city and category
3 - json find RestaurantsTakeOut: true value
extraction, ..,filter, avg
4 - filter --> sum their number of stars and get avg
5 - join, filtering, averaging