Skip to content

Required column checks should be case-insensitive #191

@bstandaert-wustl

Description

@bstandaert-wustl

I'm looking at a GTFS from Valley Metro whose directions.txt looks like this:

route_id,direction_id,Direction
0,0,North
0,1,South
0A,0,North
0A,1,South
1,0,East
1,1,West
3,0,East
3,1,West
7,0,North

Trying to import this causes an exception:

Error: Missing required value in directions.txt for direction on line 2.

If I edit the column name to lowercase "direction", things work as expected.

Would it make sense for the library to normalize these column names to lowercase on import?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions