Learn R Programming

mapsapi (version 0.5.4)

response_matrix: Sample response from Google Maps Distance Matrix API

Description

An XML document with a distance matrix for driving between three locations: Tel-Aviv, Jerusalem and Beer-Sheva

Usage

response_matrix

Arguments

Format

A list obtained using as_list on XML response

Examples

Run this code
library(xml2)
doc = as_xml_document(response_matrix)

Run the code above in your browser using DataLab