Learn R Programming

PostcodesioR (version 0.3.1)

nearest_outcode_lonlat: Nearest outcodes given longitude and latitude

Description

Returns nearest outward codes for a given longitude and latitude. The search is based on the relative distance of the outcode centroid.

Usage

nearest_outcode_lonlat(longitude, latitude)

Arguments

longitude

A string or numeric. Needs to have at least three decimal points.

latitude

A string or numeric. Needs to have at least three decimal points.

Value

A list with available data.

See Also

postcode_lookup for documentation.

Examples

Run this code
# NOT RUN {
nearest_outcode_lonlat(0.127, 51.507)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab