parse_fare_estimate_content {ptvapi}R Documentation

Parse content of fare estimates API call

Description

This function is designed to parse the content returned by the interior steps of the fare_estimate function.

Usage

parse_fare_estimate_content(fare_estimate_content)

Arguments

fare_estimate_content

A direction, as a list, returned by the fare_estimate API call.

Value

A data frame consisting of one row for each passenger_type, and the following columns:


[Package ptvapi version 2.0.5 Index]