Learn R Programming

PostcodesioR (version 0.3.1)

postcode_autocomplete: Postcode autocomplete

Description

Returns a data frame of matching postcodes.

Usage

postcode_autocomplete(postcode, limit = 10)

Arguments

postcode

A string. Valid UK postcode.

limit

An integer. Limits number of postcodes matches to return. Defaults to 10. Needs to be less than 100.

Value

A data frame with suggested postcodes.

Examples

Run this code
# NOT RUN {
postcode_autocomplete("E1")
postcode_autocomplete("E1", limit = 11)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab