Skip to contents

Create a pointset

Usage

otp_pointset(points = NULL, name = NULL, dir = NULL)

Arguments

points

sf data frame of POINTS with CRS 4326

name

Character, name for pointset

dir

A character string, path to a directory containing the necessary files, see details

Value

Returns a data.frame of SF POINTS or Coordinates of all the locations that match `query`

Details

OTP will return a maximum of 10 results

Examples

if (FALSE) {
locations <- otp_geocode(otpcon, "High Street")
}