translate_types: Translate GTFS specification types to R equivalent types

View source: R/get_gtfs_standards.R

translate_typesR Documentation

Translate GTFS specification types to R equivalent types

Description

Translate GTFS specification types to R equivalent types

Usage

translate_types(text_file, r_equivalents)

Arguments

text_file

A named list containing a GTFS text file specification, as described in the body of get_gtfs_standards.

r_equivalents

A named ⁠character vector⁠, in which each name is the GTFS specification type and the content its R equivalent.

Value

A named list holding a GTFS text file specification, but with R data types instead of GTFS spec data types.


gtfsio documentation built on Oct. 20, 2023, 9:08 a.m.