Class: GtfsDf::Schema::FareAttributes

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

Constant Summary collapse

SCHEMA =
{
  "fare_id" => Polars::String,
  "price" => Polars::Float64,
  "currency_type" => Polars::String,
  "payment_method" => Polars::Int64,
  "transfers" => Polars::Int64,
  "agency_id" => Polars::String,
  "transfer_duration" => Polars::Int64
}.freeze
REQUIRED_FIELDS =
%w[
  fare_id
  price
  currency_type
  payment_method
  transfers
].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