Description of the project
This project aims to commemorate and honor our beloved restaurants which have been permanently closed due to the Covid-19 pandemic. Restaurants are not only a place where we nourish ourselves, but also a places which holds strong memories and traditions in our communities. According to a report published by Partnership for New York City, 33% of the city’s 240,000 small businesses may never reopen. The restaurant industry was affected the most. The goal of this project is to extract data that can visualize the status and gravity of closed restaurants. I will reference Google Maps’ API, which presents the current status of recently closed restaurants.Throughout this project, I expect to explore the usage of Python as well as how to read APIs and datasets to best display and remember the closed restaurants, and the lasting effect their closures will inevitably have on New York City’s economy.
Heller, a native New Yorker and filmmaker, also known as @newyorknico, started the #MomNPopDrop hashtag campaign in 2019 to spotlight and present local businesses. Check out new videos and posts daily to see how local businesses communicate with New Yorkers. Hear the voice of our beloved New York business owners!
I referenced Google Maps’ API, which presents the current status of recently closed restaurants. This project was completed in three steps. I fetched the data through the API as a python file and extracted the necessary information through the .json file. And in order to visualize that information on personalized Google Maps, I converted it into a .csv file that Google Maps can read and perform. Limitations for this project are as follows:
First, The Places Api returned only 60 results, which means a Python file in the Github repository is a script that displays only restaurant data within a specific district of Midtown, New York. Therefore, the user has to enter various latitude and longitude directly in the script to find the desired data.
Second, the permanently closed restaurant information is not returned by the Google MAP API. Searching through the data will display "Permanently_closed" = True, but that is also marked with "business_status": "CLOSED_TEMPORARILY". That is, Place Search currently supports a field called permanently_closed, but it doesn’t distinguish between a business or location that is closed permanently or closed temporarily. According to the Google MAP API instruction page, “the Places field permanently_closed is deprecated as of May 26, 2020, and will be turned off on May 26, 2021.Use the business_status field to return the operational status of businesses.” So I created a map based on what business_status indicated as 'closed_temporarily'.
The map was created based on data from 12/6/2020