This is a report showing hte distribution of square foorage af enclosed vs. unenclosed sidewalk cafes in NYC. It is based on the latest release of data ny NYC at the time of report generation. This report was generated on Wed Apr 17 02:50:23 2019.
Sidewalk <- read.csv("mydata/Sidewalk_Cafes.csv")
Sidewalk <- data.frame(Sidewalk)
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")
Summary The median size of the reported 139enclosed 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 834 unenclosed cafes is 202 square feet. The largest unenclosed cafe is 1300 square feet and the smallest is 20 square feet.