convert_types: Convert columns between gtfsio types to tidytransit types...

View source: R/convert_types.R

convert_typesR Documentation

Convert columns between gtfsio types to tidytransit types according to GTFS reference

Description

Convert columns between gtfsio types to tidytransit types according to GTFS reference

Usage

convert_types(gtfs_list, conversion_table, conversion_function)

Arguments

gtfs_list

gtfs object

conversion_table

data.frame containing a column file and Field_Name, generally from internal gtfs_reference_types dataset

conversion_function

function to convert columns

Value

gtfs_list with converted (overwritten) columns in tables


r-transit/tidytransit documentation built on Oct. 19, 2024, 3:17 a.m.