GetDeepComps | R Documentation |
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.
GetDeepComps( zpid = NULL, count = NULL, rentzestimate = FALSE, zws_id = getOption("ZillowR-zws_id"), url = "http://www.zillow.com/webservice/GetDeepComps.htm" )
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. |
A named list with the following elements:
a list with the request parameters
a list of status code(s) and message(s) returned by the API
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.
## Not run: GetDeepComps(zpid = 48749425, count = 5) GetDeepComps(zpid = 48749425, count = 5, rentzestimate = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.