postcode_query function

Postcode query

Postcode query

Submit a postcode query and receive a complete list of postcode matches and all associated postcode data.

postcode_query(postcode, limit = 10)

Arguments

  • postcode: A string. Valid UK postcode.
  • limit: An integer. Limits the number of matches to return. Defaults to 10. Needs to be less than 100.

Returns

A list of geographic properties. To return a data frame use postcode_lookup .

Examples

postcode_query("EC1Y8LX") postcode_query("EC1", limit = 11)