In this day and age of so many sharing services like Uber and Lyft , pricey hotels are being replaced by Airbnb. Students, working people and travelers wouldn’t always want to pay a high price for staying a couple of nights at the Marriott and would rather stay at a place where that has the basic amenities needed for them at a reasonable price. In this project I am trying to understand the listings put on Airbnb on how the price varies by neighborhood ,house type and various other factors.

I am using the data for New York for this post. To start with we can see the properties listed by neighborhood across New York.In the table below you can see the count for the Airbnb listings aggregated at burrough level and neighborhood level.

BurroughCount
Bronx649
Brooklyn16810
Manhattan19212
Queens3821
Staten Island261
NeighborhoodCount
Allerton23
Arden Heights6
Arrochar14
Arverne71
Astoria755
Bath Beach11
Battery Park City65
Bay Ridge91
Bay Terrace5
Bay Terrace, Staten Island1
Baychester6
Bayside40
Bayswater8
Bedford-Stuyvesant2850
Belle Harbor5
Bellerose10
Belmont8
Bensonhurst44
Bergen Beach3
Boerum Hill153
Borough Park90
Briarwood28
Brighton Beach46
Bronxdale12
Brooklyn Heights129
Brownsville42
Bushwick1937
Cambria Heights13
Canarsie75
Carroll Gardens227
Sunset Park312
Theater District173
Throgs Neck8
Todt Hill2
Tompkinsville28
Tottenville3
Tremont5
Tribeca156
Two Bridges55
Unionport4
University Heights16
Upper East Side1543
Upper West Side1782
Van Nest10
Vinegar Hill26
Wakefield21
Washington Heights870
West Brighton11
West Farms6
West Village780
Westchester Square2
Westerleigh2
Whitestone5
Williamsbridge24
Williamsburg3719
Windsor Terrace128
Woodhaven36
Woodlawn6
Woodrow2
Woodside113

####Summarizing Price

As we saw the count for listings at neighborhood and burrough level below are the prices .

BurroughPricing($)
Bronx83
Brooklyn120
Manhattan181
Queens95
Staten Island129
NeighbourhoodPricing($)
Allerton69
Arden Heights63
Arrochar223
Arverne93
Astoria99
Bath Beach106
Battery Park City221
Bay Ridge90
Bay Terrace144
Bay Terrace, Staten Island75
Baychester54
Bayside86
Bayswater81
Bedford-Stuyvesant102
Belle Harbor166
Bellerose91
Belmont56
Bensonhurst81
Bergen Beach154
Boerum Hill158
Borough Park112
Briarwood130
Brighton Beach112
Bronxdale66
Brooklyn Heights255
Brownsville72
Bushwick84
Cambria Heights75
Canarsie126
Carroll Gardens183
Sunset Park106
Theater District232
Throgs Neck98
Todt Hill257
Tompkinsville69
Tottenville218
Tremont62
Tribeca353
Two Bridges123
Unionport65
University Heights60
Upper East Side173
Upper West Side195
Van Nest170
Vinegar Hill173
Wakefield108
Washington Heights91
West Brighton77
West Farms205
West Village240
Westchester Square70
Westerleigh785
Whitestone148
Williamsbridge92
Williamsburg140
Windsor Terrace129
Woodhaven59
Woodlawn69
Woodrow458
Woodside83

We could also see the listings per zip code level. I have use Ari Lamstien’s R package choroplethrzip . Taking the five burroughs of New York and all the zip codes within them I aggregated the listings per zipcode and mapped them .As you can see Manhattan and Brooklyn regions are the one with most listings.

Listings per zipcode

The Airbnb listings are generally categorized as an Entire Apartment / Home , private room and shared room.Below is the pricing for each type of listing.

Room TypePrice
Entire home/apt207
Private room88
Shared room71

This graph below shows how each of the Burroughs have listings by property type.

Property Type at Burrough level

To understand how the listings are spatially located I did plot them and bin them by property time to visualize where the listings are shared or entire apartment.

Property Type Mapped

Subway vs Rental Listings

Apart from all the amenities mentioned in the listing one of the most important factor when it comes to booking a listing in New York is the proximity to a subway stop. I downloaded a json for the subways and plotted them against the listings. Considering that people want to live close-by I took as 0.1 mile as a walking distance , I created a buffer to capture all the listings inside that 0.1 mile ring.I took the top 20 to understand which of the subway stations had the most listings nearby.

Top 20 subway stations

The same results were also plotted on the map using the leaflet package to visualize where these subway stations are located and how many listings they have using the graduated symbols.

Top 20 subway stations Map

Description

The description and the photos put by the property owner plays an important role for anyone to book a listing . A word-cloud of those description helps us understand what do property owners mention in the description which might help them in more bookings.

Description Word Cloud

Amenties

When you book a listing in Airbnb I assume the first thing we look for is does the listing have wifi /internet . So based on the amenities provided across all listings I mapped a word cloud to see what are the top amenities listed by the owners for the property.

Amenities

Reviews Once the user goes through the list of amenities they do scroll down through the reviews to see what people who have stayed in this property thought about. Was the property as per mentioned in the listing ? Was the bed making noise ? Any suggestions for restaurants nearby?

Reviews

What Next

The next stage for this project is to identify a relationship between the proximity of listing to subway stations , amenities listed for the property,POI’s such as restaurants, workplace, demographic variables such as daytime population. A shiny app which would show the listings and various layers such as rental price by geographies , all in one place for all the cities Airbnb have the rentals listed.