This is a report showing the distribution of square footage of enclosed vs. unenclosed 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 Tue Jun 30 00:51:14 2020.

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:

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

Let’s calculate some statistics on the enclosed and unenclosed subsets

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 foot.

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.