Function to create the sources needed to query the Targomo API.
createIds(data = NULL, id = NULL)createPoints(data = NULL, lat = NULL, lng = NULL, id = NULL)
deriveSources(points, options)
deriveTargets(points)
The data object
The id vector or formula to resolve
The lat/lng vectors or formulae to resolve
A processed data object (for sources/targets).
A processed options object (for sources).
A data.frame of sources/targets, with IDs attached.