Learn R Programming

openrouteservice (version 0.6.2)

print.ors_api: Print a Compact Summary of the API Response

Description

print.ors_api uses str to compactly display the structure of the openrouteservice API response object.

Usage

# S3 method for ors_api
print(x, give.attr = FALSE, list.len = 6L, ...)

Value

print.ors_api prints its argument and returns it invisibly.

Arguments

x

object of class ors_api.

give.attr

logical; if TRUE (default), show attributes as sub structures.

list.len

numeric; maximum number of list elements to display within a level.

...

further arguments passed to str.