Opendata-GTFS-Feed
view release on metacpan or search on metacpan
lib/Opendata/GTFS/Type/StopTime.pm view on Meta::CPAN
use Opendata::GTFS::Feed::Elk;
use Types::Standard qw/Maybe Str/;
my @columns = qw/
1 trip_id
1 arrival_time
1 departure_time
1 stop_id
1 stop_sequence
0 stop_headsign
0 pickup_type
0 drop_off_type
0 shape_dist_traveled
/;
for (my $i = 0; $i < $#columns; $i += 2) {
my $required = $columns[$i];
my $column = $columns[$i + 1];
has $column => (
lib/Opendata/GTFS/Type/StopTime.pm view on Meta::CPAN
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td>
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td>
</tr>
</table>
<p></p>
=end markdown
=head2 stop_headsign
=begin HTML
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td>
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td>
</tr>
</table>
lib/Opendata/GTFS/Type/Trip.pm view on Meta::CPAN
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
our $VERSION = '0.0202';
use Opendata::GTFS::Feed::Elk;
use Types::Standard qw/Maybe Str/;
my @columns = qw/
1 route_id
1 service_id
1 trip_id
0 trip_headsign
0 trip_short_name
0 direction_id
0 block_id
0 shape_id
0 wheelchair_accessible
0 bikes_allowed
/;
for (my $i = 0; $i < $#columns; $i += 2) {
my $required = $columns[$i];
lib/Opendata/GTFS/Type/Trip.pm view on Meta::CPAN
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td>
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td>
</tr>
</table>
<p></p>
=end markdown
=head2 trip_headsign
=begin HTML
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td>
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td>
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td>
</tr>
</table>
t/corpus/gtfs/stop_times.txt view on Meta::CPAN
trip_id,arrival_time,departure_time,stop_id,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled
STBA,6:00:00,6:00:00,STAGECOACH,1,,,,
STBA,6:20:00,6:20:00,BEATTY_AIRPORT,2,,,,
CITY1,6:00:00,6:00:00,STAGECOACH,1,,,,
CITY1,6:05:00,6:07:00,NANAA,2,,,,
CITY1,6:12:00,6:14:00,NADAV,3,,,,
CITY1,6:19:00,6:21:00,DADAN,4,,,,
CITY1,6:26:00,6:28:00,EMSI,5,,,,
CITY2,6:28:00,6:30:00,EMSI,1,,,,
CITY2,6:35:00,6:37:00,DADAN,2,,,,
CITY2,6:42:00,6:44:00,NADAV,3,,,,
t/corpus/gtfs/trips.txt view on Meta::CPAN
route_id,service_id,trip_id,trip_headsign,direction_id,block_id,shape_id
AB,FULLW,AB1,to Bullfrog,0,1,A_shp
AB,FULLW,AB2,to Airport,1,2,A_shp
STBA,FULLW,STBA,Shuttle,,,
CITY,FULLW,CITY1,,0,,
CITY,FULLW,CITY2,,1,,
BFC,FULLW,BFC1,to Furnace Creek Resort,0,1,
BFC,FULLW,BFC2,to Bullfrog,1,2,
AAMV,WE,AAMV1,to Amargosa Valley,0,,
AAMV,WE,AAMV2,to Airport,1,,
AAMV,WE,AAMV3,to Amargosa Valley,0,,
( run in 1.903 second using v1.01-cache-2.11-cpan-71847e10f99 )