Retrieve the average sale price for a particular sub-area type within a particular area.
average_sold_prices(postcode = NULL, output = NULL, area_type = NULL, API_key = NULL)
postcode | A string representing a valid UK outcode or postcode, e.g. "NW10" or "EH1 2NG". |
---|---|
output | A string representing desired output: "outcode" or "county". "county" can be combined with "streets", "towns" or "outcodes" in the area_type. "outcode" can be combined with "postcodes" or "streets" in the area_type. |
area_type | A string representing desired area: "streets", "towns", "outcodes" or "postcodes". |
API_key | An API key from Zoopla. |
A list.
http://developer.zoopla.com/docs/read/Average_Sold_Prices
# NOT RUN { average_sold_prices("EH1 2NG", "outcode", "streets", "YOUR_API_KEY") average_sold_prices("CF10 3XQ", "county", "outcodes", "YOUR_API_KEY") # }