AirBnB Safe Space App

Posted on Nov 10, 2022



Traveling to new places has two sides of a coin. On one hand, it can be the backdrop to life's best memories; on the other, not being familiar with you destination can pose certain dangers. This can be especially true for solo, female travelers, who can be more at risk to harm.

One of the most travel decisions to make is where we stay. With each listing, we can ask ourselves: is it safe?
Sometimes we are lucky to have local family or friends to help guide the process. But what about the rest of us?

My solution to this issue is AirBnB Safe Space.

This is a R Shiny app which allows a user to explore Airbnb listings on a map and any local crime data connected to that specific area. Thanks to this app, a prospective booker is able to maker safer decisions regarding their stay in New York City.

On the left, we have several criteria in the form of drop-downs or sliders to see listings in New York City. Your selection of listings appear on the map on the left. Below, we have the opportunity to see a zip code's year to date reported crimes.

We can further investigate the listings and crime data within the app's tabs:



The purpose of this app is to give the user the tools they need to make informed decisions.

In addition to using the app's interactive map and tabular data, below are findings from the data itself.
So, let's go ahead and take a look at some of the analysis.

Airbnb Data


Considering the room type selections?

The overall averge price of a room in Manhattan is $139.11.

The average price of the room types:
- Entire Home/Apt - $230.78
- Private Room - $106.99
- Shared Room - $79.56

The neighborhoods with the highest number of:
-Entire home/apt - East Village, Harlem, Hell's Kitchen, Midtown, Upper East & West Side.
-Private Room - Harlem

Overall, there are far fewer shared and private room to choose from across Manhattan.


What are the most expensive neighborhoods in Manhattan to stay in?

The top 4 neighborhoods are Tribeca, NoHo, Flatiron District, and SoHo.

It is worth noting these four areas are all found in lower westside of Manhattan & close by.

What are the most popular neighborhoods?

The most popular neighborhoods to stay in are East Harlem, Two Bridges, Harlem, Lower East Side.

It is worth noting these are also among some of the cheapest neighborhoods to stay in. (See graph above.)


NYPD Crime Data

An important part of every vacation is safety. In the Shiny app, the user is able to access year to date crime data based on zipcode.

The user can find the zipcode in the selected listing map pop-up or within the 'Explore Listings' tab. Once the zipcode has been selected in the drop-down menu, the graph on the right-hand side will display the total number of criminal reports filed with the NYPD. You can further investigate this information by also searching for the zipcode in the 'Crime Tabular Data' tab.

To get a quick understanding of local crime for booking the Airbnb, below we have crime analysis from this year's crime report.

What are the neighboorhoods with the most reported crimes?

The zipcodes with the most reported activity are found in the following neighborhoods: Lower East Side, Harlem, Midtown West, and Washington Heights.

Interstingly, if we compare this bar chart to the two neighborhood graphs (above), we can see these are on average the most popular and inexpensive places to stay.

What kind of crimes are being reported in these (and other) areas?

The NYPD report has three categories for offenses: Felony, Misdemeanor, and Violation. Felonies represent the largest group of reported criminal incidents and include grand larcency, burglary, robbery, and rape.


While felonies have the total highest amount of reported incidents, the most frequently reported offenses fall within the Violation and Misdemeanor categories.



What areas are have the lowest amount of reported crime?

No NYC area has a perfect record, but these zipcodes These neighborhoods are Roosevelt Island, Battery Park, the Upper West Side, and Fincical District. These areas have under 100 reported incidents so far this year.



What month(s) show a spike in criminal activity?

When planning a trip, the user may want to consider what months have overall higher criminal activity. There is an uptick during the warmer months. It may be worth seeing how these numbers compare to last year's when planning ahead.




Like with any trip, the user has to take into consideration multiple factors. Safer areas with lower criminal activity generally have higher room prices. The most highly rated areas are the cheapest, but also have more reported crime. By using the app and taking this analysis into ocnsideration, the user can make the best decision for their budget and trip expectations.

About Author

Natalie Zadrozna

Welcome to my blog! Today I am an innovative and scientifically rigorous data scientist. But before going into data science, I worked in databases and archives for 10 years. I have been responsible for collection databases and using...
View all posts by Natalie Zadrozna >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI