http://www.zillow.com/howto/api/APIOverview.htm
I got my ZWSID and masking from the display, but assigned to myZWSID.
Download and install R package “Zillow” from http://www.omegahat.org/Zillow/
We would like to retrieve information about properties that Zillow deems comparable to the specified property of interest. Here I want to compare properties near by 26 Hoover Avenue, Princeton, NJ.
library(Zillow)
## Loading required package: XML
## Loading required package: RCurl
## Loading required package: bitops
hoover = getComps(c("26 Hoover Avenue", "08540"), myZWSID, count=25)
Now we can plot these results
plot(hoover)
Now, we will sneak peek the data we collected
knitr::kable(hoover)
| amount | low | high | valueChange30Day | street | zip | latitude | longitude | taxAssessmentYear | taxAssessment | yearBuilt | lotSizeSqFt | finishedSqFt | bathrooms | bedrooms | lastSoldPrice | lastSold | score | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 67540787 | 416687 | 395853 | 437521 | 4219 | 26 Hoover Ave | 08540 | 40.39090 | -74.64391 | 2015 | 412729 | 2004 | 2178 | 1755 | 2.5 | 2 | 410000 | 2015-05-07 | NA |
| 39009344 | 280151 | 263342 | 299762 | 102 | 59 David Brearly Ct | 08540 | 40.38779 | -74.66008 | 2015 | 246739 | 1991 | 3484 | 1120 | 1.5 | 2 | 270500 | 2015-09-16 | 12 |
| 39009361 | 308087 | 277278 | 351219 | 2316 | 81 David Brearly Ct | 08540 | 40.38743 | -74.65933 | 2015 | 294969 | 1992 | 3484 | 1280 | 3.0 | 3 | 290000 | 2015-04-06 | 11 |
| 39119522 | 330077 | 313573 | 359784 | -839 | 5 Bridgepointe Dr | 08879 | 40.41590 | -74.65074 | 2015 | 316533 | 2001 | NA | 1419 | NA | NA | 310000 | 2015-05-13 | 12 |
| 39903377 | 569348 | 540881 | 597815 | 7334 | 1 Danby Ct | 08540 | 40.38813 | -74.66844 | 2015 | 512349 | 1996 | 6534 | 2004 | 2.5 | 3 | 570000 | 2015-08-07 | 13 |
| 39903392 | 601117 | 571061 | 631173 | 13626 | 29 York Dr | 08540 | 40.39039 | -74.66701 | 2015 | 548326 | 1997 | 6534 | 2159 | 2.5 | 4 | 624000 | 2015-08-14 | 14 |
| 39903397 | 568964 | 540516 | 597412 | 9225 | 45 York Dr | 08540 | 40.39092 | -74.66564 | 2015 | 522798 | 1997 | 6534 | 2004 | 2.5 | 3 | 570000 | 2015-07-01 | 12 |
| 39903524 | 554832 | 527090 | 582574 | 5452 | 17 Harvard Cir | 08540 | 40.39104 | -74.66305 | 2015 | 517336 | 1996 | 6098 | 1920 | 2.5 | 3 | 547500 | 2015-08-13 | 10 |
| 39903706 | 334893 | 318148 | 351638 | 2728 | 36H Needham Way | 08540 | 40.38791 | -74.63332 | 2015 | 333531 | 1986 | 3920 | 1612 | 2.5 | 3 | 340000 | 2015-11-24 | 7 |
| 39903710 | 307353 | 291985 | 322721 | 1965 | 36D Needham Way | 08540 | 40.38818 | -74.63323 | 2015 | 319402 | 1986 | 2526 | 1469 | NA | 0 | 277000 | 2015-08-20 | 13 |
| 39903711 | 324245 | 308033 | 340457 | 6370 | 36C Needham Way | 08540 | 40.38824 | -74.63321 | 2015 | 325458 | 1987 | 2613 | 1691 | 2.5 | 3 | 324100 | 2015-07-08 | 7 |
| 39903779 | 330237 | 313725 | 346749 | 3193 | 46B Haverhill Ct | 08540 | 40.38929 | -74.63579 | 2015 | 330563 | 1986 | 2744 | 1679 | 2.5 | 3 | 325000 | 2015-06-01 | 6 |
| 39903793 | 380996 | 361946 | 400046 | 6435 | 22 Manor Dr | 08540 | 40.39069 | -74.64532 | 2015 | 380788 | 1986 | 2613 | 1686 | 3.0 | 3 | 385000 | 2015-09-10 | 2 |
| 39903805 | 351326 | 333760 | 368892 | -1649 | 42 Manor Dr | 08540 | 40.38992 | -74.64542 | 2015 | 362859 | 1986 | 2178 | 1616 | 2.5 | 3 | 406000 | 2015-10-02 | 1 |
| 39903817 | 393965 | 374267 | 413663 | 8434 | 62 Manor Dr | 08540 | 40.39074 | -74.64448 | 2015 | 370340 | 1986 | 2178 | 1616 | 2.5 | 3 | 401000 | 2015-07-29 | 1 |
| 39903857 | 308382 | 292963 | 323801 | 2927 | 9D Brookline Ct | 08540 | 40.38906 | -74.62955 | 2015 | 324983 | 1986 | 2744 | 1565 | NA | NA | 230000 | 2015-05-04 | 13 |
| 39903906 | 319118 | 303162 | 335074 | 4532 | 21G Andover Cir | 08540 | 40.38938 | -74.63236 | 2015 | 325458 | 1987 | 2613 | 1571 | 3.0 | 2 | 320000 | 2015-06-12 | 7 |
| 39903919 | 322824 | 306683 | 338965 | 1257 | 20A Andover Cir | 08540 | 40.38854 | -74.63204 | 2015 | 333531 | 1986 | 3920 | 1612 | 2.5 | 3 | 315000 | 2015-07-16 | 8 |
| 39903987 | 440164 | 418156 | 462172 | 2211 | 111 Castleton Rd | 08540 | 40.39333 | -74.64144 | 2015 | 411185 | 1996 | 2888 | 2000 | 2.5 | 3 | 445000 | 2015-11-23 | 3 |
| 39903994 | 438981 | 417032 | 460930 | 1051 | 92 Castleton Rd | 08540 | 40.39280 | -74.64184 | 2015 | 427095 | 1996 | 2178 | 2093 | 2.5 | 3 | 445000 | 2015-11-10 | 2 |
| 39904001 | 441026 | 418975 | 463077 | 5085 | 101 Castleton Rd | 08540 | 40.39314 | -74.64208 | 2015 | 422821 | 1996 | 3049 | 1977 | 2.5 | 3 | 450000 | 2015-08-06 | 3 |
| 39904018 | 386305 | 366990 | 405620 | 4211 | 32 Castleton Rd | 08540 | 40.39431 | -74.64200 | 2015 | 344930 | 1996 | 1742 | 2013 | 2.5 | 3 | 375000 | 2015-06-02 | 4 |
| 39904020 | 439878 | 417884 | 461872 | 3286 | 41 Castleton Rd | 08540 | 40.39403 | -74.64252 | 2015 | 420566 | 1996 | 2613 | 1980 | 2.5 | 3 | 429000 | 2015-03-26 | 2 |
| 39904040 | 428824 | 407383 | 450265 | 1385 | 73 Castleton Rd | 08540 | 40.39314 | -74.64322 | 2015 | 422583 | 1996 | 2178 | 2093 | 3.0 | 3 | 415000 | 2015-07-14 | 2 |
| 39904096 | 388465 | 369042 | 411773 | 3735 | 43 Garfield Way | 08540 | 40.39439 | -74.63548 | 2015 | 326051 | 1999 | 2047 | 1650 | NA | NA | 375000 | 2015-07-01 | 4 |
| 39904115 | 410988 | 390439 | 431537 | 4413 | 5 Garfield Way | 08540 | 40.39307 | -74.63553 | 2015 | 399905 | 2000 | 2613 | 1771 | 2.5 | 3 | 465000 | 2015-09-11 | 4 |