average_area_sold_price: Average Area Sold Price

Description Usage Arguments Value References Examples

View source: R/average_area_sold_price.R

Description

Retrieve the average sale price for houses in a particular area.

Usage

1
average_area_sold_price(area = NULL, output = NULL, API_key = NULL)

Arguments

area

A string representing desired area. Could be a postcode, outcode, or a name. Should unambiguous, otherwise the API will return an error.

output

A string representing desired output: "outcode", "town", "county", "country". This should cover a larger area than the 'area' variable.

API_key

An API key from Zoopla.

Value

A list.

References

http://developer.zoopla.com/docs/read/Average_area_sold_price

Examples

1
2
3
4
5
6
7
## Not run: 

average_area_sold_price("Edinburgh", "country", "YOUR_API_KEY")
average_area_sold_price("EH1 2NG", "outcode", "YOUR_API_KEY")
average_area_sold_price("EH1", "county", "YOUR_API_KEY")

## End(Not run)

erzk/zooplaR documentation built on Aug. 26, 2019, 11:36 a.m.