- Yelp dataset (page)
- IRS Individual Income Tax Statistics (page, dataset)
- Zillow's dataset on rent prices per sq. ft. (page, dataset)
- Extract the yelp dataset somewhere
- Create your dataset_dirs.py file (see dataset_dirs_example.py)
- Run parse_datasets.py
Returns a list of all metro area names in database:
{'metro_areas': [metro area names]}
Returns the top ten scores in the given metro area:
{'scores': [{'category': ..., 'score': ..., 'zip_code': ...}]}
Returns the top 3 zip codes for the given category within the given metro area. Format is subject to some degree of change but can be found in app.py. However, it will be similar to the below format:
{
"category": "Indian",
"metro_area": "Charlotte",
"top3": [
{
"restaurants": [
{
"city": "Charlotte",
"full_address": "8432 Old Statesville\nSte 300\nCharlotte, NC 28269",
"id": "XiUxS327vVkwWtR2TgpxLw",
"latitude": 35.33806,
"longitude": -80.8240579,
"name": "Rudino's Pizza & Grinders",
"review_count": 6,
"stars": 2.5,
"zip_code": 28269
},
...
},
...
]
}