geopath_to_tibble: Convert a single geopath to a tibble

View source: R/geopath.R

geopath_to_tibbleR 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:

  • direction_id

  • valid_from

  • valid_to

  • paths


ptvapi documentation built on May 29, 2024, 4:48 a.m.