Retrieve the Zoopla.co.uk Zed-Index! for a requested area.

zed_index(area = NULL, output = NULL, API_key = NULL)

Arguments

area

A string representing a valid UK outcode or postcode, e.g. "NW10" or "EH1 2NG".

output

A string representing desired output: "town", "outcode", "county", "country".

API_key

An API key from Zoopla.

Value

A list

References

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

Examples

# NOT RUN {
zed_index("NW10", "outcode", "YOUR_API_KEY")
zed_index("E151AZ", "town", "YOUR_API_KEY")
zed_index("EH1 2NG", "county", "YOUR_API_KEY")
zed_index("CF10 3XQ", "country", "YOUR_API_KEY")
# }