units of distances and time in gmapsdistance

library(gmapsdistance)
results = gmapsdistance(origin = "Rawalpindi", destination = "Lahore", mode = "driving", key = "")
results
its output is

$Time
[1] 15788

$Distance
[1] 358383

$Status
[1] "OK"
requirements

  1. what is the unit of time and distance its is giving

From the Readme file on CRAN

The distance is returned in meters and the time in seconds.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.