functionality that creates a mapping between GTFS feed files and clojure keywords
functionality that creates a mapping between GTFS feed files and clojure keywords
(fields spec)
a sequence of gtfs field data with a :keyword entry.
Useful to have a direct mapping between GTFS fields and Clojure fully qualified keywords
a sequence of gtfs field data with a :keyword entry. Useful to have a direct mapping between GTFS fields and Clojure fully qualified keywords
(get-mapping spec k)
(get-mapping spec filename field-name)
given a gtfs feed and field name returns its field data from the gtfs/field
A single fully qualified keyword is also accepted as argument
given a gtfs feed and field name returns its field data from the gtfs/field A single fully qualified keyword is also accepted as argument
(identifiers spec)
returns a sequence of fields from the gtfs spec that are marked as DATASET UNIQUE
returns a sequence of fields from the gtfs spec that are marked as DATASET UNIQUE
(reference? identifiers field)
given the sequence of dataset unique identifiers, checks if a field represents a reference to another field in the spec.
NOTE: this is not guaranteed to work as it is based on heuristics
given the sequence of dataset unique identifiers, checks if a field represents a reference to another field in the spec. NOTE: this is not guaranteed to work as it is based on heuristics
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close