In July 2019, New York City had 48,895 Airbnb listings, and 52 percent were entire homes rather than rooms in a host’s home. Prices and availability matter to travelers comparing places to stay and to hosts deciding what to charge. They also matter to the city, which has debated whether short-term rentals take housing away from long-term residents. City rules generally prohibit renting an entire home for fewer than 30 nights (NYC Office of Special Enforcement, n.d.), so the number of listings that look like full-time rentals is a policy question as well as a market one. This report asks what factors are associated with Airbnb prices and listing activity in New York City.
Wang and Nicolau (2017) modeled 180,533 listings in 33 cities and found that host, location, property, and review features shape price, including room type, distance to the city center, the host’s number of listings, and reviews per year. In New York, Wachsmuth and Weisler (2018) used spatial analysis of three years of Airbnb activity and found it concentrated in desirable neighborhoods, where it encourages landlords to convert long-term rentals. Across U.S. zip codes, Barron, Kung, and Proserpio (2021) estimated that at the median owner-occupancy rate, a 1 percent increase in Airbnb listings raises rents by 0.018 percent. The effect was larger where fewer residents own their homes, which the authors link to absentee owners moving housing from long-term to short-term rentals. These studies explain price with regression models or measure housing effects across neighborhoods and zip codes. Our project adds a visual, listing-level view of one city that connects price, reviews, host type, availability, and minimum stays across the five boroughs, for a general audience.
We ask six questions. Questions 1 to 3 show travelers and hosts what is associated with price and popularity. Questions 4 to 6 measure how many listings look like full-time businesses rather than occasional home sharing, which are the listings at the center of the city’s housing debate. Wang and Nicolau (2017) guide Questions 1 to 4, Wachsmuth and Weisler (2018) guide Questions 2, 5, and 6, and Barron, Kung, and Proserpio (2021) frame Questions 5 and 6.
| No. | Question | Variables | Graphic |
|---|---|---|---|
| 1 | How does nightly price differ by borough and room type? | Price, borough, room type | Ridgeline plot |
| 2 | Where are the most expensive listings concentrated? | Latitude, longitude, price | Interactive map |
| 3 | Are cheaper listings more popular, using reviews per month as a proxy? | Price, reviews per month | Hexbin scatterplot |
| 4 | Do hosts with two or more listings differ from single-listing hosts in price and room type? | Host listing count, room type, price | Stacked percent bars and box plots |
| 5 | How many listings are available 180 or more days a year, by room type and borough? | Availability, room type, borough | Faceted density plots |
| 6 | How many entire home listings allow stays under 30 nights, and in which boroughs? | Minimum nights, room type, borough | Proportional bar chart |
We use the New York City Airbnb Open Data set, which we downloaded as a CSV file from Kaggle (Gomonov, 2019). The data come from Inside Airbnb (n.d.), a project that collects publicly visible listing information from Airbnb’s website. The file is a July 2019 snapshot, and the latest review in it is dated July 8, 2019. It has 48,895 rows, one per listing, and 16 variables, described in the table below. Borough has 5 levels and neighborhood has 221 levels. Before cleaning, the median nightly price was $106 and the mean was $152.72, which shows that price is right skewed.
| Variable | Description | Type | Units |
|---|---|---|---|
| id | Unique listing ID | Identifier | None |
| name | Listing title written by the host | Text | None |
| host_id | Unique host ID | Identifier | None |
| host_name | Host’s first name | Text | None |
| neighbourhood_group | Borough | Categorical (5 levels) | None |
| neighbourhood | Neighborhood within the borough | Categorical (221 levels) | None |
| latitude | Latitude of the listing | Quantitative (continuous) | Decimal degrees |
| longitude | Longitude of the listing | Quantitative (continuous) | Decimal degrees |
| room_type | Entire home/apt, private room, or shared room | Categorical (3 levels) | None |
| price | Nightly price set by the host | Quantitative (continuous) | US dollars |
| minimum_nights | Shortest booking the host allows | Quantitative (discrete) | Nights |
| number_of_reviews | Total number of reviews | Quantitative (discrete) | Count |
| last_review | Date of the most recent review | Date | Year, month, day |
| reviews_per_month | Average number of reviews per month | Quantitative (continuous) | Reviews per month |
| calculated_host_listings_count | Number of NYC listings the host has | Quantitative (discrete) | Count |
| availability_365 | Days the listing is open to book in the next year | Quantitative (discrete) | Days (0 to 365) |
We found no duplicate listings. All 10,052 missing values in reviews
per month (reviews_per_month) and in the date of the most
recent review (last_review) belong to listings with zero
reviews, so we set reviews per month to 0 and left the date missing. We
also found 16 missing listing titles and 21 missing host names, and we
dropped the host name column because the analysis does not use it. We
removed 11 listings priced at $0, 239 listings priced above $1,000 per
night, and 14 listings requiring stays of more than a year. The 99th
percentile of price is $799, and several removed prices, such as $9,999
and $10,000, look like placeholders. We stored borough and room type as
categories and added two variables: host type (host_type),
which is “Multi-listing host” when the host’s total NYC listings
(calculated_host_listings_count) is 2 or more and
“Single-listing host” when it is 1, and a flag for minimum stays under
30 nights (under_30_nights). The final sample has 48,631
listings and 17 variables, so cleaning removed 0.5 percent of the
listings.
Our findings describe New York City listings that were publicly visible in July 2019, not a random sample and not today’s market, which changed after the COVID-19 pandemic and the city’s Local Law 18 registration rules. Prices are listed prices, not amounts guests paid, and a listing is not proof of a booking, so the results show associations and cannot prove cause and effect.
The code below loads the data, applies the cleaning rules, and computes the numbers used in the Introduction. It runs at the top of the file so the Introduction can use its results. We used R (R Core Team, 2025) and the tidyverse packages, including dplyr for the data steps and ggplot2 for the graphics (Wickham et al., 2019).
library(tidyverse)
library(ggridges)
library(scales)
library(leaflet)
library(patchwork)
# The CSV must be in the same folder as this .Rmd file
airbnb <- read_csv("AB_NYC_2019.csv", show_col_types = FALSE)
# Read the review date the same way on every computer, even if the CSV was
# resaved by a spreadsheet program in month/day/year format
airbnb <- airbnb |>
mutate(last_review = as.Date(lubridate::parse_date_time(
as.character(last_review), orders = c("ymd", "mdy"), quiet = TRUE)))
airbnb_clean <- airbnb |>
# Listings with no reviews get 0 reviews per month instead of NA
mutate(reviews_per_month = replace_na(reviews_per_month, 0)) |>
# Remove $0 prices, prices above $1,000, and minimum stays over a year
filter(price > 0,
price <= 1000,
minimum_nights <= 365) |>
# Host first names are not needed for the analysis
select(-host_name) |>
mutate(
neighbourhood_group = factor(neighbourhood_group),
room_type = factor(room_type,
levels = c("Entire home/apt", "Private room", "Shared room")),
# New variables for Questions 4 and 6
host_type = if_else(calculated_host_listings_count > 1,
"Multi-listing host", "Single-listing host"),
under_30_nights = minimum_nights < 30
)
# Numbers used in the Introduction, all from the raw or cleaned data
n_raw <- nrow(airbnb)
n_vars <- ncol(airbnb)
n_clean <- nrow(airbnb_clean)
n_clean_vars <- ncol(airbnb_clean)
pct_removed <- round(100 * (1 - n_clean / n_raw), 1)
pct_entire_raw <- round(100 * mean(airbnb$room_type == "Entire home/apt"))
n_hoods <- n_distinct(airbnb$neighbourhood)
n_dupes <- sum(duplicated(airbnb$id))
n_na_reviews <- sum(is.na(airbnb$reviews_per_month))
n_na_names <- sum(is.na(airbnb$name))
n_na_hosts <- sum(is.na(airbnb$host_name))
n_price_zero <- sum(airbnb$price == 0)
n_price_high <- sum(airbnb$price > 1000)
price_p99 <- unname(quantile(airbnb$price, 0.99))
price_med <- median(airbnb$price)
price_mean <- mean(airbnb$price)
n_long_stay <- sum(airbnb$price > 0 & airbnb$price <= 1000 & airbnb$minimum_nights > 365)
last_date <- max(airbnb$last_review, na.rm = TRUE)
last_review_text <- paste0(format(last_date, "%B "), as.integer(format(last_date, "%d")),
format(last_date, ", %Y"))
dim(airbnb_clean)
## [1] 48631 17
# One color per room type, used in every plot (colorblind friendly viridis)
room_colors <- c("Entire home/apt" = "#482576",
"Private room" = "#238A8D",
"Shared room" = "#9AD93C")
# Shared theme with font sizes that stay readable when printed
theme_report <- theme_minimal(base_size = 13) +
theme(plot.title = element_text(face = "bold", size = 16),
plot.subtitle = element_text(size = 12, color = "grey25"),
plot.caption = element_text(size = 9, color = "grey40", hjust = 0),
panel.grid.minor = element_blank(),
strip.text = element_text(face = "bold", size = 12),
legend.position = "none")
source_caption <- "Source: Inside Airbnb, via Kaggle (Gomonov, 2019). July 2019 snapshot of New York City listings."
# Helpers for numbers in the text
num <- function(x) format(x, big.mark = ",", scientific = FALSE, trim = TRUE)
usd <- function(x) ifelse(x %% 1 == 0, dollar(x, accuracy = 1), dollar(x, accuracy = 0.01))
min_group_size <- 30 # smallest group we draw a density curve for
q1_summary <- airbnb_clean |>
group_by(room_type, neighbourhood_group) |>
summarise(n = n(), median_price = median(price), .groups = "drop")
# Groups too small for a reliable density curve
q1_dropped <- q1_summary |> filter(n < min_group_size)
# Sort boroughs by overall median price so the most expensive is on top
borough_order <- airbnb_clean |>
group_by(neighbourhood_group) |>
summarise(median_price = median(price)) |>
arrange(median_price) |>
pull(neighbourhood_group) |>
as.character()
q1_data <- airbnb_clean |>
semi_join(filter(q1_summary, n >= min_group_size),
by = c("room_type", "neighbourhood_group")) |>
mutate(neighbourhood_group = factor(neighbourhood_group, levels = borough_order))
q1_labels <- q1_summary |>
filter(n >= min_group_size) |>
mutate(neighbourhood_group = factor(neighbourhood_group, levels = borough_order),
label = paste0("n = ", num(n)))
# Medians used in the subtitle and the text
med <- function(rt, b) {
q1_summary |> filter(room_type == rt, neighbourhood_group == b) |> pull(median_price)
}
med_room <- airbnb_clean |> group_by(room_type) |> summarise(m = median(price))
med_entire <- med_room$m[med_room$room_type == "Entire home/apt"]
med_private <- med_room$m[med_room$room_type == "Private room"]
med_shared <- med_room$m[med_room$room_type == "Shared room"]
# Is Manhattan the highest median borough within every room type?
manhattan_top <- q1_summary |>
group_by(room_type) |>
slice_max(median_price, n = 1, with_ties = FALSE) |>
pull(neighbourhood_group) |>
as.character()
ggplot(q1_data, aes(x = price, y = neighbourhood_group, fill = room_type)) +
geom_density_ridges(quantile_lines = TRUE, quantiles = 2,
bandwidth = 0.06, scale = 0.95,
alpha = 0.9, color = "white", linewidth = 0.4) +
geom_text(data = q1_labels,
aes(x = 3000, y = neighbourhood_group, label = label),
inherit.aes = FALSE, hjust = 1, vjust = -0.5,
size = 3.3, color = "grey25") +
facet_wrap(~ room_type) +
# Upper limit of $3,000 leaves room for the count labels past the $1,000 cap
scale_x_log10(breaks = c(30, 100, 300, 1000), limits = c(10, 3000),
labels = label_dollar(accuracy = 1)) +
scale_fill_manual(values = room_colors) +
labs(
title = "Nightly Price by Borough and Room Type",
subtitle = paste0("Manhattan has the highest median price for every room type.\n",
"Entire homes have a median of ", usd(med_entire),
" per night, compared with ", usd(med_private),
" for private rooms."),
x = "Nightly price (US dollars, log scale)",
y = "Borough",
caption = paste0(source_caption,
"\nThe white line in each curve marks the median. Labels show the number of listings. ",
"Boroughs are sorted by overall median price.\n",
paste0(q1_dropped$neighbourhood_group, " ", tolower(q1_dropped$room_type),
"s (n = ", q1_dropped$n, ")", collapse = ", "),
" are not shown because the group is too small.")
) +
theme_report
Key takeaways. Manhattan has the highest median nightly price for every room type. For entire homes, the medians are $190 in Manhattan, $145 in Brooklyn, $120 in Queens, $100 in the Bronx, and $100 in Staten Island. Across the city, entire homes have a median price of $160, compared with $70 for private rooms and $45 for shared rooms. A private room in Manhattan has a median of $90, close to the $100 median for an entire home in the Bronx, showing that both location and room type matter.
Tools and design choices. We used ggplot2 and
geom_density_ridges() from ggridges to compare price
distributions, with a separate panel for each room type (Wilke, 2025).
We placed price on a log scale so lower and higher prices are easier to
compare, and used the same bandwidth of 0.06 on the log10 scale to
smooth every curve consistently. We excluded groups with fewer than 30
listings because their density curves would be less reliable, and added
median lines and listing counts to help readers compare the groups. We
ordered boroughs by their overall median price and used the shared
room_colors and theme_report to keep the graph
consistent with the rest of the report.
# Identify listings at or above the 90th percentile of nightly price
q2_cutoff <- quantile(airbnb_clean$price, probs = 0.90, names = FALSE)
q2_expensive <- airbnb_clean |>
filter(price >= q2_cutoff)
# Compare Manhattan's share of expensive listings with its share of all listings
q2_manhattan_expensive <- 100 * mean(q2_expensive$neighbourhood_group == "Manhattan")
q2_manhattan_all <- 100 * mean(airbnb_clean$neighbourhood_group == "Manhattan")
# Find the neighborhood with the most listings in the top 10 percent
q2_top_neighbourhood <- q2_expensive |>
count(neighbourhood_group, neighbourhood, sort = TRUE) |>
slice_head(n = 1)
# Borough name labels at the median location of all listings in each borough
q2_borough_labels <- airbnb_clean |>
group_by(neighbourhood_group) |>
summarise(longitude = median(longitude), latitude = median(latitude))
# Colors and clickable information for the interactive map
q2_expensive <- q2_expensive |>
mutate(
map_color = unname(room_colors[as.character(room_type)]),
popup_text = paste0(
"<strong>Neighborhood:</strong> ",
htmltools::htmlEscape(as.character(neighbourhood)),
"<br><strong>Borough:</strong> ", neighbourhood_group,
"<br><strong>Room type:</strong> ", room_type,
"<br><strong>Nightly price:</strong> ", usd(price)
)
)
q2_subtitle <- paste0(
"Manhattan contains ", round(q2_manhattan_expensive),
" percent of expensive listings but ",
round(q2_manhattan_all), " percent of all listings."
)
# Static map for the PDF version and printed handout
# (the HTML version shows the interactive map below instead)
ggplot(q2_expensive, aes(x = longitude, y = latitude, color = room_type)) +
geom_point(size = 1.2, alpha = 0.55) +
geom_label(data = q2_borough_labels,
aes(x = longitude, y = latitude, label = neighbourhood_group),
inherit.aes = FALSE, size = 3.6, fontface = "bold",
fill = alpha("white", 0.8), label.size = 0, color = "grey15") +
scale_color_manual(values = room_colors, name = "Room type", drop = FALSE) +
coord_quickmap() +
labs(
title = "Expensive Airbnb Listings Are Concentrated in Manhattan",
subtitle = q2_subtitle,
x = "Longitude",
y = "Latitude",
caption = paste0(
source_caption,
"\nListings priced at or above ", usd(q2_cutoff),
" per night, the 90th percentile of cleaned nightly prices.",
"\nBorough names mark the middle of all listings in each borough."
)
) +
theme_report +
theme(legend.position = "bottom")
The HTML version of the report shows the interactive map below, and the PDF version and printed handout show the static map above instead. Click a point on the interactive map to see its neighborhood, borough, room type, and price.
leaflet(q2_expensive) |>
addTiles() |>
addCircleMarkers(
lng = ~longitude,
lat = ~latitude,
radius = 3,
stroke = FALSE,
fillOpacity = 0.55,
color = ~map_color,
popup = ~popup_text
) |>
addLegend(position = "bottomright",
colors = unname(room_colors),
labels = names(room_colors),
title = "Room type",
opacity = 0.8) |>
# Title, takeaway, and source, the same as on the static map
addControl(
html = paste0("<strong style='font-size:16px'>",
"Expensive Airbnb Listings Are Concentrated in Manhattan</strong><br>",
q2_subtitle),
position = "topright") |>
addControl(
html = paste0("<span style='font-size:11px'>", source_caption,
"<br>Listings priced at or above ", usd(q2_cutoff),
" per night, the 90th percentile of cleaned nightly prices.</span>"),
position = "bottomleft")
Key takeaways. Manhattan contains 72 percent of listings in the top 10 percent of nightly prices, compared with 44 percent of all listings. This shows that expensive listings are more concentrated in Manhattan than its overall share of listings would suggest. The neighborhood with the most listings in the top 10 percent is Midtown, in Manhattan, with 545 listings. The price cutoff is $259 per night, and 4,886 listings meet or exceed it, including any ties at the cutoff.
Tools and design choices. We used
quantile() to calculate the 90th percentile of nightly
price and filter() to keep listings at or above that
cutoff. We mapped longitude and latitude, using the shared
room_colors to distinguish room types and borough name
labels to help readers of the printed map. The interactive map, made
with the leaflet package (Cheng et al., 2025), lets readers explore
individual listings, while the static ggplot2 map uses
coord_quickmap() to preserve geographic proportions and
theme_report for consistent formatting. We used
count() to identify the neighborhood with the most listings
in the top 10 percent, which measures the number of expensive listings
rather than the neighborhood’s typical price.
q3_data <- airbnb_clean
# Split listings at the median price
q3_median_price <- median(q3_data$price)
q3_data <- q3_data |>
mutate(price_group = if_else(price <= q3_median_price,
"Lower-priced", "Higher-priced"))
# Median reviews per month for each price group
q3_low_reviews <- median(q3_data$reviews_per_month[q3_data$price_group == "Lower-priced"])
q3_high_reviews <- median(q3_data$reviews_per_month[q3_data$price_group == "Higher-priced"])
# Strength of the overall link (rank correlation, which suits skewed data)
q3_cor <- cor(q3_data$price, q3_data$reviews_per_month, method = "spearman")
# Listings with zero reviews, and listings hidden by the zoom
q3_n_zero <- sum(q3_data$number_of_reviews == 0)
q3_pct_zero <- 100 * mean(q3_data$number_of_reviews == 0)
q3_zoom_max <- 10
q3_n_above <- sum(q3_data$reviews_per_month > q3_zoom_max)
# Draw only the zoomed range so the hexagons keep their shape;
# the medians and correlation above still use all listings
ggplot(filter(q3_data, reviews_per_month <= q3_zoom_max),
aes(x = price, y = reviews_per_month)) +
geom_hex(bins = 40, color = "white", linewidth = 0.2) +
scale_x_log10(labels = label_dollar(accuracy = 1)) +
scale_fill_viridis_c(name = "Number of\nlistings") +
labs(
title = "Nightly Price and Reviews per Month",
subtitle = paste0("Lower-priced listings get slightly more reviews: a median of ",
q3_low_reviews, " per month,\ncompared with ",
q3_high_reviews, " for higher-priced listings."),
x = "Nightly price (US dollars, log scale)",
y = "Reviews per month",
caption = paste0(source_caption,
"\nEach hexagon groups listings with similar prices and review rates. ",
"Lower-priced means at or below the median price of ", usd(q3_median_price), ".",
"\nThe graph shows 0 to ", q3_zoom_max, " reviews per month. The ",
q3_n_above, " listings above that range are not drawn but are included in the medians.")
) +
theme_report +
theme(legend.position = "right")
Key takeaways. Lower-priced listings, those at or below the median price of $105, have a median of 0.42 reviews per month, compared with 0.33 for higher-priced listings. The link is weak, though: the rank correlation between price and reviews per month is only -0.05, and most listings at every price level receive few reviews each month. About 20 percent of listings (9,911) have zero reviews and sit at 0 on the graph, which makes the bottom row of hexagons the most crowded. Overall, cheaper listings appear to receive slightly more reviews, but reviews per month is only a rough measure of popularity because not every guest leaves a review.
Tools and design choices. We used the cleaned data
(airbnb_clean) and ggplot2 to create the graph. We used
geom_hex(), a ggplot2 function that requires the hexbin
package (Carr et al., 2026), with 40 bins to group listings into
hexagons and show where most listings are concentrated without thousands
of overlapping points. We used a log scale for price because Airbnb
prices vary widely, and we drew only listings with 0 to 10 reviews per
month so the main pattern is visible, while the medians and correlation
still use all listings. The fill color uses the viridis palette to show
the number of listings in each hexagon, and theme_report
keeps the graph consistent with the rest of the report.
q4_data <- airbnb_clean |>
mutate(host_type = factor(host_type,
levels = c("Single-listing host", "Multi-listing host")))
# Overall median price for each host type
q4_single_price <- median(q4_data$price[q4_data$host_type == "Single-listing host"])
q4_multi_price <- median(q4_data$price[q4_data$host_type == "Multi-listing host"])
# Median price for each host type within each room type
q4_room_price <- q4_data |>
group_by(room_type, host_type) |>
summarise(n = n(), median_price = median(price), .groups = "drop")
qp <- function(rt, ht) {
q4_room_price |> filter(room_type == rt, host_type == ht) |> pull(median_price)
}
# Share of each room type within each host type
q4_mix <- q4_data |>
count(host_type, room_type) |>
group_by(host_type) |>
mutate(pct = 100 * n / sum(n)) |>
ungroup()
qm <- function(ht, rt) {
q4_mix |> filter(host_type == ht, room_type == rt) |> pull(pct)
}
q4_pct_multi <- 100 * mean(q4_data$host_type == "Multi-listing host")
q4_price_cap <- 500
q4_n_above <- sum(q4_data$price > q4_price_cap)
host_labels <- c("Single-listing host" = "Single-listing",
"Multi-listing host" = "Multi-listing")
panel_title <- theme(plot.title = element_text(face = "bold", size = 13))
# Panel A: share of each room type within each host type
q4_room_panel <- ggplot(q4_mix, aes(x = host_type, y = pct, fill = room_type)) +
geom_col(width = 0.6, color = "white") +
geom_text(aes(label = if_else(pct >= 5, paste0(round(pct), "%"), "")),
position = position_stack(vjust = 0.5),
color = "white", fontface = "bold", size = 4) +
scale_fill_manual(values = room_colors, name = "Room type") +
scale_x_discrete(labels = host_labels) +
scale_y_continuous(labels = function(x) paste0(x, "%")) +
labs(title = "A. Room type mix",
x = "Host type",
y = "Share of the host type's listings") +
theme_report +
panel_title
# Panel B: nightly price for each host type within each room type
q4_price_panel <- ggplot(q4_data, aes(x = host_type, y = price, fill = room_type)) +
geom_boxplot(width = 0.55, alpha = 0.85, outlier.alpha = 0.15, outlier.size = 0.6,
show.legend = FALSE) +
facet_wrap(~ room_type) +
scale_fill_manual(values = room_colors) +
scale_x_discrete(labels = host_labels) +
scale_y_continuous(labels = label_dollar(accuracy = 1)) +
coord_cartesian(ylim = c(0, q4_price_cap)) +
labs(title = "B. Nightly price within each room type",
x = "Host type",
y = "Nightly price (US dollars)") +
theme_report +
panel_title
# Combine the two panels into one figure with patchwork
q4_room_panel + q4_price_panel +
plot_layout(widths = c(1, 2.4), guides = "collect") +
plot_annotation(
title = "Room Mix and Nightly Price by Host Type",
subtitle = paste0("Multi-listing hosts offer more private rooms (",
round(qm("Multi-listing host", "Private room")), " versus ",
round(qm("Single-listing host", "Private room")),
" percent), so their overall median price is lower (",
usd(q4_multi_price), " versus ", usd(q4_single_price), "),\n",
"but for entire homes they charge more (",
usd(qp("Entire home/apt", "Multi-listing host")), " versus ",
usd(qp("Entire home/apt", "Single-listing host")), ")."),
caption = paste0(source_caption,
"\nMulti-listing hosts have 2 or more NYC listings. Shared rooms are ",
round(qm("Single-listing host", "Shared room")),
" percent of single-listing host listings and ",
round(qm("Multi-listing host", "Shared room")),
" percent of multi-listing host listings.",
"\nThe line in each box marks the median. Panel B is zoomed to ",
usd(q4_price_cap), ", which hides ", num(q4_n_above),
" listings above that price."),
theme = theme_report
) &
theme(legend.position = "bottom")
Key takeaways. Multi-listing hosts, those with 2 or more NYC listings, hold 34 percent of listings and have a lower median nightly price than single-listing hosts: $91 compared with $117. Panel A shows one reason: 57 percent of multi-listing host listings are private rooms, compared with 40 percent for single-listing hosts, and private rooms cost less than entire homes. Panel B shows that within the same room type, the pattern changes: for entire homes, multi-listing hosts have a higher median price ($175 compared with $155), while for private rooms the medians are close ($67 and $70). In our interpretation, the lower overall price mostly reflects the mix of room types that multi-listing hosts offer, not lower prices for the same kind of listing.
Tools and design choices. We used the cleaned data
(airbnb_clean) and the existing host type variable
(host_type), and used dplyr to compute the median price and
room type shares for each host type. Panel A is a stacked bar chart of
percentages rather than counts, because the two host types have very
different numbers of listings. Panel B shows box plots of nightly price
for each host type within each room type, made with
facet_wrap(), so readers can see that the overall price gap
changes once room type is held constant. We combined the two panels into
one figure with the patchwork package (Pedersen, 2025), so both parts of
the answer appear together. The price axis in Panel B is zoomed to $500
with coord_cartesian(), which keeps all listings in the
medians, and both panels use the shared room_colors and
theme_report.
high_avail_days <- 180 # "high availability" means 180 or more days a year
q5_summary <- airbnb_clean |>
group_by(neighbourhood_group, room_type) |>
summarise(n = n(),
pct_high = 100 * mean(availability_365 >= high_avail_days),
pct_zero = 100 * mean(availability_365 == 0),
.groups = "drop")
# Same rule as Question 1: no density curve for groups under 30 listings
q5_dropped <- q5_summary |> filter(n < min_group_size)
# Curves show listings with at least 1 open day. Listings with 0 days are a
# single spike that a density curve would smear, so their share is labeled instead.
q5_data <- airbnb_clean |>
semi_join(filter(q5_summary, n >= min_group_size),
by = c("neighbourhood_group", "room_type")) |>
filter(availability_365 > 0)
# Percent at 180 or more days, one label per room type in each panel
q5_labels <- q5_summary |>
filter(n >= min_group_size) |>
mutate(label = paste0(round(pct_high), "%"),
y_pos = 0.0182 - 0.0016 * as.integer(room_type))
# Citywide and borough figures used in the subtitle and the text
pct_high_all <- 100 * mean(airbnb_clean$availability_365 >= high_avail_days)
pct_zero_all <- 100 * mean(airbnb_clean$availability_365 == 0)
n_zero_all <- sum(airbnb_clean$availability_365 == 0)
q5_borough <- airbnb_clean |>
group_by(neighbourhood_group) |>
summarise(n = n(),
pct_high = 100 * mean(availability_365 >= high_avail_days),
pct_zero = 100 * mean(availability_365 == 0)) |>
arrange(desc(pct_high))
n_high_borough <- airbnb_clean |>
filter(availability_365 >= high_avail_days) |>
count(neighbourhood_group)
nh <- function(b) n_high_borough$n[n_high_borough$neighbourhood_group == b]
n_high_all <- sum(airbnb_clean$availability_365 >= high_avail_days)
q5_room <- airbnb_clean |>
group_by(room_type) |>
summarise(pct_high = 100 * mean(availability_365 >= high_avail_days))
q5_zero_labels <- q5_borough |>
mutate(label = paste0("0 days: ", round(pct_zero), "%"))
pb <- function(b, col) round(q5_borough[[col]][q5_borough$neighbourhood_group == b])
pr <- function(rt) round(q5_room$pct_high[q5_room$room_type == rt])
# What the 0-day listings look like
zero_listings <- airbnb_clean |> filter(availability_365 == 0)
n_zero_never_reviewed <- sum(zero_listings$number_of_reviews == 0)
n_zero_old_review <- sum(zero_listings$last_review < as.Date("2019-01-01"), na.rm = TRUE)
ggplot(q5_data, aes(x = availability_365, color = room_type, fill = room_type)) +
geom_density(bounds = c(1, 365), adjust = 0.6, alpha = 0.15, linewidth = 0.9) +
geom_vline(xintercept = high_avail_days, linetype = "dashed", color = "grey35") +
geom_text(data = q5_labels,
aes(x = 275, y = y_pos, label = label, color = room_type),
inherit.aes = FALSE, hjust = 0.5, size = 3.8, fontface = "bold",
show.legend = FALSE) +
annotate("text", x = 275, y = 0.0184, label = "180 or more days:",
hjust = 0.5, size = 3.5, color = "grey25") +
geom_text(data = q5_zero_labels, aes(x = 85, y = 0.0184, label = label),
inherit.aes = FALSE, hjust = 0.5, size = 3.5, color = "grey25") +
facet_wrap(~ neighbourhood_group, ncol = 3) +
scale_x_continuous(breaks = c(0, 90, 180, 270, 365)) +
scale_y_continuous(labels = NULL) +
coord_cartesian(ylim = c(0, 0.019)) +
scale_color_manual(values = room_colors, name = NULL) +
scale_fill_manual(values = room_colors, name = NULL) +
labs(
title = "Days Available to Book in the Next Year, by Borough and Room Type",
subtitle = paste0(round(pct_high_all), " percent of listings are available ", high_avail_days,
" or more days a year, and ", round(pct_zero_all),
" percent show 0 days.\nStaten Island and the Bronx have the highest shares of high-availability listings."),
x = "Days available in the next year (0 to 365)",
y = "Density (share of listings)",
caption = paste0(source_caption,
"\nThe dashed line marks 180 days. Percentages give the share of each room type available 180 or more days.\n",
"Curves show listings with 1 to 365 open days. The share of all listings with 0 open days is labeled in each panel.\n",
paste0(q5_dropped$neighbourhood_group, " ", tolower(q5_dropped$room_type),
"s (n = ", q5_dropped$n, ")", collapse = ", "),
" are not shown because the group is too small.")
) +
theme_report +
theme(legend.position = "top",
legend.text = element_text(size = 12),
panel.spacing = unit(1.2, "lines"))
Key takeaways. Across the city, 30 percent of listings (14,423) are open to book 180 or more days in the next year, a level that looks more like a full-time rental than occasional home sharing. The share is highest in Staten Island (54 percent) and the Bronx (41 percent) and lowest in Brooklyn (26 percent), but most high-availability listings are in Manhattan (6,538) and Brooklyn (5,176) because those boroughs have far more listings. Shared rooms have the highest share citywide (42 percent), compared with 30 percent of entire homes and 28 percent of private rooms. Another 36 percent of listings (17,463) show 0 open days. Of these, 9,582 were last reviewed before 2019 and 4,797 were never reviewed, so many are likely inactive, although the data cannot separate inactive listings from fully booked or blocked ones.
Tools and design choices. We used
geom_density() from ggplot2, with one panel per borough
made by facet_wrap() and the same room type colors as
Question 1. Listings with 0 open days form a single spike that a smooth
curve would spread into nearby days, so we drew curves only for listings
with 1 to 365 open days and labeled the share of all listings with 0
days in each panel. We set bounds = c(1, 365) so the curves
stay inside the possible range and adjust = 0.6 so the peak
near 365 days stays visible. A dashed line marks the 180 day threshold,
and the percentages in each panel are computed from all listings in that
group, including those with 0 days. As in Question 1, we left out groups
with fewer than 30 listings, which removed only Staten Island shared
rooms.
short_stay_limit <- 30 # city rules generally prohibit entire home stays under 30 nights
entire_homes <- airbnb_clean |>
filter(room_type == "Entire home/apt") |>
mutate(stay_group = case_when(
minimum_nights <= 6 ~ "1 to 6 nights",
minimum_nights <= 29 ~ "7 to 29 nights",
TRUE ~ "30 nights or more"
),
stay_group = factor(stay_group,
levels = c("30 nights or more", "7 to 29 nights", "1 to 6 nights")))
# Share of entire homes in each minimum stay group, by borough and citywide
q6_by_borough <- entire_homes |>
count(neighbourhood_group, stay_group) |>
mutate(neighbourhood_group = as.character(neighbourhood_group))
q6_city <- entire_homes |>
count(stay_group) |>
mutate(neighbourhood_group = "All boroughs")
q6_data <- bind_rows(q6_by_borough, q6_city) |>
group_by(neighbourhood_group) |>
mutate(total = sum(n), pct = 100 * n / total) |>
ungroup()
# Sort boroughs by the share under 30 nights, with the citywide bar on top
q6_under <- q6_data |>
filter(stay_group != "30 nights or more") |>
group_by(neighbourhood_group, total) |>
summarise(n_under = sum(n), pct_under = sum(pct), .groups = "drop")
bar_order <- q6_under |>
filter(neighbourhood_group != "All boroughs") |>
arrange(pct_under) |>
pull(neighbourhood_group)
q6_data <- q6_data |>
mutate(neighbourhood_group = factor(neighbourhood_group,
levels = c(bar_order, "All boroughs")))
q6_totals <- q6_under |>
mutate(neighbourhood_group = factor(neighbourhood_group,
levels = c(bar_order, "All boroughs")),
label = paste0("n = ", num(total)))
stay_colors <- c("1 to 6 nights" = "#482576",
"7 to 29 nights" = "#9C8DC7",
"30 nights or more" = "grey80")
# Figures used in the subtitle and the text
qu <- function(b, col) q6_under[[col]][q6_under$neighbourhood_group == b]
n_entire <- nrow(entire_homes)
n_exact_30 <- sum(entire_homes$minimum_nights == short_stay_limit)
pct_1_to_6 <- 100 * mean(entire_homes$minimum_nights <= 6)
under_30_homes <- entire_homes |> filter(minimum_nights < short_stay_limit)
n_under_high_avail <- sum(under_30_homes$availability_365 >= high_avail_days)
n_under_multi_host <- sum(under_30_homes$host_type == "Multi-listing host")
ggplot(q6_data, aes(x = pct, y = neighbourhood_group, fill = stay_group)) +
geom_col(width = 0.7, color = "white", linewidth = 0.4) +
geom_text(aes(label = if_else(pct >= 4, paste0(round(pct), "%"), ""),
color = stay_group),
position = position_stack(vjust = 0.5), size = 3.8,
fontface = "bold", show.legend = FALSE) +
geom_text(data = q6_totals,
aes(x = 101, y = neighbourhood_group, label = label),
inherit.aes = FALSE, hjust = 0, size = 3.5, color = "grey25") +
scale_x_continuous(breaks = seq(0, 100, 25), labels = function(x) paste0(x, "%"),
expand = expansion(mult = c(0, 0.12))) +
scale_fill_manual(values = stay_colors, name = "Minimum stay",
breaks = c("1 to 6 nights", "7 to 29 nights", "30 nights or more")) +
scale_color_manual(values = c("1 to 6 nights" = "white",
"7 to 29 nights" = "grey10",
"30 nights or more" = "grey25")) +
labs(
title = "Entire Home Listings That Allow Stays Under 30 Nights, by Borough",
subtitle = paste0(round(qu("All boroughs", "pct_under")), " percent of entire home listings (",
num(qu("All boroughs", "n_under")), " of ", num(n_entire),
") allow stays under 30 nights.\n",
"Most allow 6 nights or fewer. Manhattan has the lowest share but the most listings."),
x = "Share of entire home listings in the borough",
y = NULL,
caption = paste0(source_caption,
"\nEntire home/apt listings only. Minimum stay is the shortest booking the host allows, not the length of actual stays.\n",
"City rules generally prohibit renting an entire home for fewer than 30 nights (NYC Office of Special Enforcement, n.d.).")
) +
theme_report +
theme(legend.position = "top",
legend.text = element_text(size = 12),
panel.grid.major.y = element_blank(),
axis.text.y = element_text(size = 13))
Key takeaways. Most entire home listings allow stays shorter than the 30 night threshold in city rules: 88 percent citywide (22,101 of 25,207), and 77 percent allow a minimum stay of 6 nights or fewer. The share is above 90 percent in every borough except Manhattan, where it is 82 percent. Manhattan still has the largest number of these listings (10,703) because it has the most entire homes. Another 2,625 entire homes set their minimum at exactly 30 nights, which suggests that some hosts match their minimum to the rule. Of the entire homes that allow stays under 30 nights, 5,551 are also available 180 or more days a year and 4,287 belong to multi-listing hosts, which links this question to Questions 4 and 5.
Tools and design choices. We filtered the cleaned
data to entire home/apt listings and grouped the minimum stay
(minimum_nights) into 1 to 6 nights, 7 to 29 nights, and 30
nights or more, so the chart shows both the 30 night threshold and how
short most minimum stays are. We counted listings in each group by
borough with count(), turned the counts into percentages
within each borough, and added a citywide bar with
bind_rows(). The chart uses geom_col() with
stacked bars that each add to 100 percent, so boroughs of very different
sizes can be compared, and the listing count is printed beside each bar.
Boroughs are sorted by the share under 30 nights, the two shorter groups
use shades of the entire home color, and the 30 nights or more group is
grey. The minimum stay is a host setting, not the length of actual
stays, and the data does not show building type or whether the host
lives in the home, so we do not call any listing illegal.
Location and room type are the clearest factors associated with price. Manhattan has the highest median price for every room type, and an entire home there has a median of $190 per night, compared with $100 in the Bronx. The most expensive listings are even more concentrated: Manhattan holds 72 percent of listings in the top 10 percent of prices but only 44 percent of all listings. For travelers, this means a private room in Manhattan (median $90) costs about the same as an entire home in the Bronx (median $100). Price is only weakly linked to reviews per month (rank correlation -0.05), so a lower price does not by itself appear to bring many more reviews.
Many listings look more like full-time rentals than occasional home sharing. Across the city, 30 percent of listings are open to book 180 or more days a year, and 88 percent of entire homes allow stays shorter than 30 nights, the length below which city rules generally prohibit renting an entire home (NYC Office of Special Enforcement, n.d.). Multi-listing hosts hold 34 percent of listings, and for entire homes they charge more than single-listing hosts (median $175 compared with $155). In our interpretation, these patterns support the concern raised by Wachsmuth and Weisler (2018) that part of the Airbnb market in New York operates as a business rather than as residents sharing their homes. Policymakers and housing advocates could use measures like these to see where such listings are concentrated, although the data cannot show whether any single listing breaks the rules.
The data has four main limits:
availability_365) cannot separate a booked
night from a night the host blocked, so the 36 percent of listings with
0 open days could be inactive, fully booked, or closed by the host.Our design choices also shape the results. The cleaning cutoffs (no prices above $1,000 and no minimum stays over 365 nights), the 10 percent price cutoff in Question 2, the 180 day threshold in Question 5, and the two-listing threshold for host type were judgment calls, and other cutoffs would change some percentages. The density curves in Questions 1 and 5 depend on the smoothing settings we chose, and we left out groups with fewer than 30 listings. The static map shows borough names but not borough boundaries.
Several other variables would make this analysis stronger. Booking calendars or occupancy rates would show actual demand instead of open dates and reviews. Prices that guests actually paid, along with the number of bedrooms, amenities, and review scores, would allow fairer price comparisons between listings of the same size and quality. Neighborhood rents and incomes from the U.S. Census Bureau would let us link Airbnb activity to housing costs, as Barron, Kung, and Proserpio (2021) did across U.S. zip codes. Finally, newer snapshots from Inside Airbnb (n.d.) would show how the market changed after the COVID-19 pandemic and after Local Law 18 took effect.
Barron, K., Kung, E., & Proserpio, D. (2021). The effect of home-sharing on house prices and rents: Evidence from Airbnb. Marketing Science, 40(1), 23–47. https://doi.org/10.1287/mksc.2020.1227
Carr, D., Lewin-Koh, N., Maechler, M., & Sarkar, D. (2026). hexbin: Hexagonal binning routines (R package version 1.28.6). https://CRAN.R-project.org/package=hexbin
Cheng, J., Schloerke, B., Karambelkar, B., Xie, Y., & Aden-Buie, G. (2025). leaflet: Create interactive web maps with the JavaScript ‘Leaflet’ library (R package version 2.2.3). https://CRAN.R-project.org/package=leaflet
Gomonov, D. (2019). New York City Airbnb open data [Data set]. Kaggle. https://www.kaggle.com/datasets/dgomonov/new-york-city-airbnb-open-data
Inside Airbnb. (n.d.). Get the data. https://insideairbnb.com/get-the-data
NYC Office of Special Enforcement. (n.d.). What is Local Law 18? https://www.nyc.gov/site/specialenforcement/hosting-STRs/what-is-local-law-18.page
Pedersen, T. L. (2025). patchwork: The composer of plots (R package version 1.3.2). https://CRAN.R-project.org/package=patchwork
R Core Team. (2025). R: A language and environment for statistical computing. R Foundation for Statistical Computing. https://www.R-project.org/
Wachsmuth, D., & Weisler, A. (2018). Airbnb and the rent gap: Gentrification through the sharing economy. Environment and Planning A: Economy and Space, 50(6), 1147–1170. https://doi.org/10.1177/0308518X18778038
Wang, D., & Nicolau, J. L. (2017). Price determinants of sharing economy based accommodation rental: A study of listings from 33 cities on Airbnb.com. International Journal of Hospitality Management, 62, 120–131. https://doi.org/10.1016/j.ijhm.2016.12.007
Wickham, H., Averick, M., Bryan, J., Chang, W., McGowan, L. D., François, R., Grolemund, G., Hayes, A., Henry, L., Hester, J., Kuhn, M., Pedersen, T. L., Miller, E., Bache, S. M., Müller, K., Ooms, J., Robinson, D., Seidel, D. P., Spinu, V., . . . Yutani, H. (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686. https://doi.org/10.21105/joss.01686
Wilke, C. O. (2025). ggridges: Ridgeline plots in ‘ggplot2’ (R package version 0.5.7). https://CRAN.R-project.org/package=ggridges