zed_index: Zed-Index

Description Usage Arguments Value References Examples

View source: R/zed_index.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
## 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")

## End(Not run)

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