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

View source: R/api_call.R

print.ors_apiR Documentation

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 class 'ors_api'
print(x, give.attr = FALSE, list.len = 6L, ...)

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.

Value

print.ors_api prints its argument and returns it invisibly.


openrouteservice documentation built on Oct. 21, 2024, 9:06 a.m.