Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c655124
Reflect change in fare...ft file name & path
ddorinson Mar 22, 2017
2b42f81
Fix table formatting
lmz Apr 13, 2017
af7f971
Replace fare_class, fare_rules_ft, misc cleanup
ddorinson May 20, 2017
3ea6fde
Add link to fare_rules.md file
ddorinson May 20, 2017
b9a643f
More cleanup to match v.0.3.0
ddorinson May 20, 2017
6505736
Cleanup table formatting and code fragments
ddorinson May 20, 2017
a167e0d
Final set of changes to match v.0.3.0 spec
ddorinson May 20, 2017
13358c4
Fixed wiki URL
ddorinson May 20, 2017
20883f5
Add file link; fix typos
ddorinson May 20, 2017
1414662
Fix table formatting
ddorinson May 20, 2017
f4751ea
Fix table formatting, layout
ddorinson May 20, 2017
e91737b
Fix table formatting, layout
ddorinson May 20, 2017
54ebc3d
One more layout fix
ddorinson May 20, 2017
736232a
Fix table formatting, layout
ddorinson May 20, 2017
10349ad
Merge pull request #39 from ddorinson/patch-1
e-lo May 22, 2017
122c0e7
Update vehicles_ft.md
sdrewc Jun 5, 2017
5ca49bc
Create vehicles_ft.md
sdrewc Jun 9, 2017
54e779c
Merge pull request #1 from sdrewc/sdrewc-patch-1
sdrewc Jun 9, 2017
b934130
accel, decel, max_speed
sdrewc Jun 9, 2017
e55703c
minor formatting changes
sdrewc Jun 9, 2017
2b8675d
Create vehicles_ft.md
sdrewc Jun 13, 2017
1b32a0d
Create vehicles_ft.md
sdrewc Jun 14, 2017
cf438ca
Add percent_using_farebox and formatting fixes
sdrewc Jun 14, 2017
0572d65
Add percent_using_farebox
sdrewc Jun 14, 2017
f094137
add max_speed, accel and decel back in.
sdrewc Jun 14, 2017
2f8f2ea
Add number_loading_areas
sdrewc Jun 14, 2017
fd8f743
Add TCQSM parameter text
sdrewc Jun 14, 2017
7388d47
Add TCQSM parameter text
sdrewc Jun 14, 2017
eb8c75e
Add TCQSM parameter text and dwell_formula
sdrewc Jun 14, 2017
c99732c
Add TCQSM parameter text
sdrewc Jun 14, 2017
7bf329e
Merge branch 'master' into sdrewc-patch-1
sdrewc Jun 14, 2017
1836221
Merge pull request #2 from sdrewc/sdrewc-patch-1
sdrewc Jun 14, 2017
6efc5ae
Merge branch 'queued' into master
e-lo Jun 15, 2017
2525738
Merge remote-tracking branch 'upstream/master'
sdrewc Sep 15, 2017
96cff46
Add route_stats_ft.txt to hold route-level statistics for a date and …
sdrewc Sep 15, 2017
86908e2
Add more statistics
sdrewc Sep 15, 2017
f346ee6
Add fields to upstream files to support calculating statistics in rou…
sdrewc Sep 15, 2017
e3f976b
Fix formatting
sdrewc Sep 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add route_stats_ft.txt to hold route-level statistics for a date and …
…time range and set of days.

Signed-off-by: Drew <drew.cooper@sfcta.org>
  • Loading branch information
sdrewc committed Sep 15, 2017
commit 96cff46c8f82517df680f48fb60f458ad907643a
40 changes: 40 additions & 0 deletions files/routes_stats_ft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## Additional Transit Route Information

* Filename MUST be `routes_stats_ft.txt`
* File MUST contain a record for every transit route (i.e. the Muni 14 Local)
* File MUST be a valid CSV file.
* The first line of each file MUST contain case-sensitive field names.
* Field names MUST NOT contain tabs, carriage returns or new lines.

File MUST contain ONE the following TWO sets of required attributes:

**Option One**:
Required Attributes | Description
---------- | -------------
`route_id` | ID that uniquely identifies a route.
`start_date` | Start date in YYYYMMDD for which route statistics are calculated.
`end_date` | End date in YYYYMMDD for which route statistics are calculated.
`start_time` | Start time in HH:MM:SS for which route statistics are calculated.
`end_time` | End time in HH:MM:SS for which route statistics are calculated.
`monday` | 0 or 1. A binary value indicating whether route statistics include Mondays.
`tuesday` | 0 or 1. A binary value indicating whether route statistics include Tuesdays.
`wednesday` | 0 or 1. A binary value indicating whether route statistics include Wednesdays.
`thursday` | 0 or 1. A binary value indicating whether route statistics include Thursdays.
`friday` | 0 or 1. A binary value indicating whether route statistics include Fridays.
`saturday` | 0 or 1. A binary value indicating whether route statistics include Saturdays.
`sunday` | 0 or 1. A binary value indicating whether route statistics include Sundays.

**Option Two**:
Required Attributes | Description
---------- | -------------
`service_id` | ID that uniquely identifies a service span in `calendar.txt`.
`start_time` | Start time in HH:MM:SS for which route statistics are calculated.
`end_time` | End time in HH:MM:SS for which route statistics are calculated.

File MAY contain the following attributes:

Optional Attributes | Description
---------- | -------------
`schedule_time` | Integer, mean number of minutes from scheduled `arrival_time` at first stop to scheduled `departure_time` at last stop
`actual_time` | Integer, mean number of minutes from actual `arrival_time` at first stop to actual `departure_time` at last stop.
Copy link
Copy Markdown
Contributor

@e-lo e-lo Sep 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest avg_observed_runtime

`semi_std_dev` | Float, semi-standard deviation between scheduled and actual route run time.