Description Usage Arguments Value
Function to create the sources needed to query the Targomo API.
1 2 3 4 5 6 7 | createIds(data = NULL, id = NULL)
createPoints(data = NULL, lat = NULL, lng = NULL, id = NULL)
deriveSources(points, options)
deriveTargets(points)
|
data |
The data object |
id |
The id vector or formula to resolve |
lat, lng |
The lat/lng vectors or formulae to resolve |
points |
A processed data object (for sources/targets). |
options |
A processed options object (for sources). |
A data.frame of sources/targets, with IDs attached.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.