geopath_to_tibble {ptvapi}R Documentation

Convert a single geopath to a tibble

Description

This function is designed to parse the geopath content returned by the interior steps of some functions. If geopath data is requested, that content will contain a list of geopaths for each route. This function is designed to parse one of those geopaths into a tibble.

Usage

geopath_to_tibble(geopath)

Arguments

geopath

A geopaths object, as a list

Value

A tibble of routes, with the following columns:


[Package ptvapi version 2.0.5 Index]