Learn R Programming

gtfstools (version 2.0.1)

has_shapes: Check whether a GTFS object has shapes linked to its trips

Description

Check whether a GTFS object has shapes linked to its trips

Usage

has_shapes(gtfs)

Value

TRUE if the GTFS object has a shapes table and a shape_id

column in its trips table, FALSE otherwise.

Arguments

gtfs

A GTFS object, as created by read_gtfs().