This webpage presents an up-to-date comparison of the distribution of square footage between enclosed and unenclosed sidewalk cafes in New York City. It is based on the latest release of data by NYC at the time of report generation. This report was generated on Mon Aug 17 21:59:20 2020.
sidewalk <- read.csv("Sidewalk_Cafes.csv")
sidewalk <- data.frame(sidewalk)
This data was split into two dataframes containing the enclosed and unenclosed data using the following code:
enclosed <- subset.data.frame(sidewalk, sidewalk$Sidewalk.Cafe.Type == 'Enclosed')
unenclosed <- subset.data.frame(sidewalk, sidewalk$Sidewalk.Cafe.Type == 'Unenclosed')
The data was then plotted with this code:
boxplot(enclosed$Lic.Area.Sq.Ft, unenclosed$Lic.Area.Sq.Ft, names = c("Enclosed", "Unenclosed"), main="NYC Sidewalk Cafe Size")
Summary
The median size of the reported 12 enclosed cafes is 325.5.
The median size of the reported 12 unenclosed cafes is 202.