I'm trying to parse a GTFS file, with a certain number of columns. Is this code conceptually able to parse columns in a random order as long as they are mentioned in the header? Using this code:
terminate called after throwing an instance of 'io::error::too_few_columns'
what(): Too few columns in line 2 in file "/mnt/volatile/skinkie/calgary/stops.txt".
With the data:
stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,location_type
112112,112112,"Crescent Heights High School",51.060931,-114.065158,,,0
I'm trying to parse a GTFS file, with a certain number of columns. Is this code conceptually able to parse columns in a random order as long as they are mentioned in the header? Using this code:
I get the following error:
With the data:
I have also tried:
and...