demo/example1.R

library(gmapsdistance)

# Compute the travel distance and time between Washington DC and New York City
results = gmapsdistance(origin = "Washington+DC", 
                        destination = "New+York+City+NY", 
                        mode = "driving")
results
rodazuero/gmapsdistance documentation built on Feb. 18, 2020, 12:40 p.m.