Yelp / yelp-fusion

Yelp Fusion API
https://yelp.com/developers
MIT License
401 stars 394 forks source link

Data Inquiry #703

Open Kaikuroiwa opened 4 months ago

Kaikuroiwa commented 4 months ago

Hello,

I am a graduate student from NYU from the Department of Nutrition and Food Studies. I am currently doing a study about the way that restaurant demographics change over time. I was wondering if you could help me retrieve some data from the yelp data set since I do not have the expertise to do so. I am trying to find the number of restaurants that existed in New York City (Brooklyn, queens, Manhattan, the Bronx and Staten Island) between the years 2005-2022. I was hoping I could find out how many restaurants were in the yelp database for each year within my time frame of study. I would have liked to do this on my own from the .json file available but my attempts at converting it into a readable .csv file using python were futile…I think I may just be too unsavvy with programming. Therefore, I know it’s a simple task, but I would very much appreciate you helping me extract this information from the public yelp dataset.

Thank you for your time and attention.

Best,

Kai Kuroiwa

Note: Do not post any API keys or secrets or they will be rotated


Overview

Description

(More detailed information explaining the problem, the expected results, the question, etc. Do not post any API keys or secrets.)

More information

(Fill this section out if applicable (for things like bugs or questions. Do not post any API keys or secrets.))

Endpoint

(e.g. Fusion Search API)

Parameters or Sample Request

(SAMPLE PLEASE REMOVE)

https://api.yelp.com/v3/businesses/search?term=pie&latitude=37.3382082&longitude=-121.88632860000001&radius=17000

Response

(SAMPLE PLEASE REMOVE)

{
  "id": "garaje-san-francisco",
  "name": "Garaje",
  "categories": [
    {
      "alias": "gastropubs",
      "title": "Gastropubs"
    },
    ...
  ],
  "price": "$$",
  ...
}

Extra information

(Anything else you that you think might help us better resolve this. Do not post any API keys or secrets.)