Learn R Programming

tidytransit (version 0.7.1)

set_trippattern: Add trip pattern data frame to the gtfs object

Description

Add trip pattern data frame to the gtfs object

Usage

set_trippattern(gtfs_obj, id_prefix = "t_", hash_length = 7, hash_algo = "md5")

Arguments

gtfs_obj

gtfs feed

id_prefix

all ids start with this string

hash_length

length the hash should be cut to with substr(). Use -1 if the full hash should be used

hash_algo

hashing algorithm used by digest

Value

gtfs_obj