This function returns a summary of the number of total listings for your specified locations and parameters

listing_counts(locations, listing_type = "sale", search_type = "city",
  features = NULL, city_isolated = NULL, county_isolated = NULL,
  zipcode_isolated = NULL, state_isolated = NULL,
  street_isolated = NULL, neighborhood_isolated = NULL,
  beds_min = NULL, beds_max = NULL, baths_min = NULL,
  baths_max = NULL, price_min = NULL, price_max = NULL,
  only_open_houses = NULL, property_type = NULL, sqft_min = NULL,
  sqft_max = NULL, acre_min = NULL, acre_max = NULL,
  age_min = NULL, age_max = NULL, days_on_market = NULL,
  generate_new_cookies = F, pending = NULL,
  is_new_construction = NULL, include_pending_contingency = TRUE)

Arguments

locations

vector of locations

listing_type

type of listing

  • sale

  • rent

search_type

search type options include

  • city - default

  • county

features

if not NULL list of searchable features see dictionary_listing_features for options

city_isolated

if not NULL isolates

county_isolated

if not NULL isolates county

zipcode_isolated

if not NULL isolates zipcode

state_isolated

if not NULL isolates state

street_isolated

if not NULL isolates street

neighborhood_isolated

if not NULL isolates

beds_min

if not NULL minimum bedrooms

beds_max

if not NULL maximum bedrooms

baths_min

if not NULL minimum bathrooms

baths_max

if not NULL maximum bathrooms

price_min

if not NULL minimum price

price_max

if not NULL maximum price

only_open_houses

if TRUE isolates open houses

property_type

if not NULL type of property options see dictionary_property_types for options

sqft_min

if not NULL minimum square footage

sqft_max

if not NULL maximum square footage

acre_min

if not NULL minimum acres

acre_max

if not NULL maximum acres

age_min

if not NULL minimum age

age_max

if not NULL maximum age

days_on_market

if not NULL count of days on market

generate_new_cookies

if TRUE generates new cookies #'

pending

if TRUE include pending

is_new_construction

if TRUE isolates to new construction

include_pending_contingency

if TRUE also includes pending and contingent sales

Value

a tibble

See also

Examples

# NOT RUN {
library(dplyr)
library(realtR)
## New Construction in selected markets
df_nc <-
listing_counts(
locations = c("Miami Beach, FL", "SOMA, San Francisco, CA", 10013,
"Bethesda, MD"),
 is_new_construction = TRUE
 )

 df_nc %>%
 select(locationSearch, countListings)
# }