GetDeepComps: Make request to Zillow API GetDeepComps Web Service

Description Usage Arguments Value Examples

Description

The GetDeepComps API returns a list of comparable recent sales for a specified property. The result set returned contains the address, Zillow property identifier, and Zestimate for the comparable properties and the principal property for which the comparables are being retrieved. This API call also returns rich property data for the comparables.

Usage

1
2
3
GetDeepComps(zpid = NULL, count = NULL, rentzestimate = FALSE,
  zws_id = getOption("ZillowR-zws_id"),
  url = "http://www.zillow.com/webservice/GetDeepComps.htm")

Arguments

zpid

The Zillow Property ID for the property for which to obtain information. Required.

count

The number of comparable recent sales to obtain (between 1 and 25)

rentzestimate

Return Rent Zestimate information if available (logical, default: false).

zws_id

The Zillow Web Service Identifier. Required.

url

URL for the GetDeepComps Web Service. Required.

Value

A named list with the following elements:

request

a list with the request parameters

message

a list of status code(s) and message(s) returned by the API

response

an XMLNode with the API-specific response values. At this time, no further coercion is performed, so you may have to use functions from the XML package to extract the desired output.

Examples

1
2
3
4
## Not run: 
GetDeepComps(zpid = 48749425, count = 5)
GetDeepComps(zpid = 48749425, count = 5, rentzestimate = TRUE)
## End(Not run)

ZillowR documentation built on May 1, 2019, 6:31 p.m.