NYC Art Meets NYC Appetite

Joyce Escatel-Flores

Goals of the Project

  • Explore whether restaurants near art museums are more likely to have higher ratings than restaurants not close to museums.

  • Explore whether restaurants near museums are less likely to have no violation citations than restaurants not close to museums.

  • Creating an interactive map that pinpoints restaurants that are nearby museums.

Data Sets Used

  • DOHMH New York City Restaurant Inspection results which you can find at https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/43nn-pn8j/about_data
  • MUSEUM which you can find at https://data.cityofnewyork.us/Recreation/MUSEUM/fn6f-htvy/about_data

The third data set is a Kaggle open data set created by Beridzeg45 called NYC Restaurants, which you can find at https://www.kaggle.com/datasets/beridzeg45/nyc-restaurants

Goal 1: Visualizing the Analysis

We are visualizing the proportion of rating groups (high, medium, low) by if restaurants are near museums (yes,no).

Chi-Square Analysis for Goal 1


    Pearson's Chi-squared test

data:  contingency_table
X-squared = 0.45813, df = 2, p-value = 0.7953
Cramer V 
 0.02714 
  • The chi-square test shows X^2 = 0.64691 (0.65), df = 2, p = 0.7236 (0.72)

  • There is not a statistically significant relationship between restaurants being near museums and rating.

  • Cramer’s V tells us that the relationship is weak in strength.

Goal 2: Visualizing the Analysis

We are visualizing the proportion of if a restaurant ever had violations (None, Critical) by if restaurants are near museums (yes,no).

Chi-Square Analysis for Goal 2


    Pearson's Chi-squared test with Yates' continuity correction

data:  contingency_table_2
X-squared = 1.4637e-28, df = 1, p-value = 1
                    Near_Museum
Restaurant_Violation        No       Yes
            Critical  30.38585  4.614148
            None     509.61415 77.385852
Cramer V 
0.007957 
  • The chi-square test shows X^2 = 6.2237e-30, df = 2, p = 1

  • Cramer’s V tells us that the relationship is very weak in strength (0.008128).

Continuation


    Fisher's Exact Test for Count Data

data:  contingency_table_2
p-value = 0.7978
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
 0.3339362 3.0818476
sample estimates:
odds ratio 
 0.9060068 
  • p value is 0.7975, which is still not a statistically significant relationship between restaurants being near museums and restaurant violations.

Goal 3: Creating an interactive Map

Red: Low Rated Restaurants Purple: Average Rated Restaurants Dark Blue: High Rated Restaurants. Black: Museums

Project Relevance to New Yorkers

I believe that this project is relevant to New Yorkers who like to go to museums or restaurants and would like to plan an outing for a nice museum day in NYC. These types of New Yorkers would care about this type of project because they no longer have to rely on using Google to search each individual museum and instead have a map that is accessible and easy to use.

Thank you!