Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayOfMapsToCSV ¶
ArrayOfMapsToCSV converts an array of maps into a CSV file
func PrepareMock ¶
Take the YML input mock GTFS spec and generate a mock mobility database CSV which imports a generate GTFS zip from that YML
func YMLToCSVZip ¶
YMLToCSVZip takes a YML filepath as input with YML sepcification for a ZIP of CSVs looking like:
foo.csv:
- { bar: baz, bil: bin }
- { bar: baz, bil: bin }
bar.csv:
- { bar: baz, bil: bin }
- { bar: baz, bil: bin }
And writes out a ZIP archive with the corresponding files of CSVs. For example in the above sample, 2 CSV files would be in the ZIP (foo.csv, and bar.csv) each with 2 rows.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.