GetZestimates: Get Zestimates for a given Zillow property ID

Description Usage Arguments Value Examples

Description

Returns a dataframe with the Zillow zestimate and/or rental valuation information for a given Zillow property ID.

Usage

1
GetZestimate(zpids, rentzestimate = FALSE, api_key, raw = FALSE)

Arguments

zpids

a single value or vector of Zillow property IDs

rentzestimate

if TRUE, gets the rent zestimate.

api_key

character string specifying Zillow API key

raw

logical, if TRUE the raw XML data from the API call is returned (i.e., the original ZillowR call)

Value

A data frame with columns corresponding to zpid, Date, and Zestimate information

Examples

1
2
3
4
5
6
7
8
## Not run: 
zapi_key = getOption('ZillowR-zws_id')

zpid='1341571'

GetZestimate(zpids=zpid,rentzestimate=TRUE,api_key=zapi_key)

## End(Not run)

xiyuansun/realEstAnalytics documentation built on May 7, 2019, 7:12 p.m.