This is a report showing the distribution of square footage of enclosed vs. uneclosed sidewalk cafes in NYC. It is based on the latest release of data by NYC at the time of report generation. This report was generated on Mon Sep 06 17:27:52 2021.

The 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:

library(ggplot2)
boxplot(enclosed$Lic.Area.Sq.Ft, unenclosed$Lic.Area.Sq.Ft, names = c("Enclosed","Unenclosed"), main = "NYC Sidewalk Cafe Size", horizontal = TRUE)

Summary

The median size of the reported 147 enclosed cafes is 325.5 square feet. The largest enclosed cafe is 1044 square feet and the smallest is 1 square feet.

The median size of the reported 861 unenclosed cafes is 202 square feet. The largest unenclosed cafe is 1300 square feet and the smallest is 30 square feet.