Learn R Programming

gtfsio (version 1.1.1)

translate_types: Translate GTFS specification types to R equivalent types

Description

Translate GTFS specification types to R equivalent types

Usage

translate_types(text_file, r_equivalents)

Value

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

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.