Description Usage Arguments Value Examples
Wrapper function for EFA XML API.
1 |
origin |
The origin of the journey. Either a name, coordinates or a DHID Code. If a name is provided the next station is calculated based on the geocode function and the 'Haversine distance'. Coordinates should be a vector with lon/lat. |
destination |
The destination of the journey. Either a name, coordinates or a DHID Code. If a name is provided the next station is calculated based on the geocode function and the 'Haversine distance'. Coordinates should be a vector with lon/lat. |
simplify |
Simplify determines whether the original xml result is returned or a simpler S3 object. |
time |
The date and time of the journey. |
Either the original xml result or an S3 object based on the simplify input.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.