copy_gtfs_diff_field_class: Make a GTFS copy with a field of a different class

View source: R/utils.R

copy_gtfs_diff_field_classR Documentation

Make a GTFS copy with a field of a different class

Description

Creates a copy of a GTFS object while changing the class of a given field. Used for testing.

Usage

copy_gtfs_diff_field_class(gtfs, file, field, class)

Arguments

gtfs

A GTFS object, as created by read_gtfs().

file

File whose field must have the class changed.

field

Field to have the class changed.

class

The desired class.

Value

A GTFS object with the field of desired class.


gtfstools documentation built on Nov. 24, 2022, 5:09 p.m.