Class: GtfsDf::Schema::Frequencies

Inherits:
BaseGtfsTable show all
Defined in:
lib/gtfs_df/schema/frequencies.rb

Constant Summary collapse

SCHEMA =
{
  "trip_id" => Polars::String,
  "start_time" => Polars::String,
  "end_time" => Polars::String,
  "headway_secs" => Polars::Int64,
  "exact_times" => Polars::Int64
}.freeze
REQUIRED_FIELDS =
%w[
  trip_id
  start_time
  end_time
  headway_secs
].freeze
TIME_FIELDS =
%w[
  start_time
  end_time
].freeze

Instance Attribute Summary

Attributes inherited from BaseGtfsTable

#df, #validator

Method Summary

Methods inherited from BaseGtfsTable

#dataframe, empty_dataframe, #errors, #fields, #initialize, time_fields, #valid?

Constructor Details

This class inherits a constructor from GtfsDf::BaseGtfsTable