Skip to content

Commit 5e10a9e

Browse files
committed
Removes references to UTC offsets and ISO durations.
1 parent 5bd0f3b commit 5e10a9e

1 file changed

Lines changed: 50 additions & 50 deletions

File tree

provider/README.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -363,82 +363,82 @@ The authenticated reports are monthly, historic flat files that may be pre-gener
363363
**`data` Filename:** monthly file named by year and month, e.g. `/reports/YYYY-MM.csv`
364364
**`data` Payload:** monthly CSV files with the following structure:
365365

366-
| Column Name | Type | Comments |
367-
|----------------------| ----------------------------------------- | ------------------------------------------------ |
368-
| `start_date` | date | Start date of trip the data row, ISO 8601 format, local timezone |
369-
| `duration` | string | Value is always `P1M` for monthly. Based on [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) |
370-
| `special_group_type` | [Special Group Type](#special-group-type) | Type that applies to this row |
371-
| `geography_id` | [Geography](/geography) | ID that applies to this row. Includes all IDs in /geography. When there is no /geography then return `null` for this value and return counts based on the entire operating area. |
372-
| `vehicle_type` | [Vehicle Type](/agency#vehicle-type) | Type that applies to this row |
373-
| `trip_count` | integer | Count of trips taken for this row |
374-
| `rider_count` | integer | Count of unique riders for this row |
366+
| Column Name | Type | Comments |
367+
|----------------------|------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
368+
| `start_date` | date | Start date of trip the data row, ISO 8601 format |
369+
| `time_zone` | string | Time zone of market, from the [tzdata database](https://www.iana.org/time-zones) |
370+
| `special_group_type` | [Special Group Type](#special-group-type) | Type that applies to this row |
371+
| `geography_id` | [Geography](/geography) | ID that applies to this row. Includes all IDs in /geography. When there is no /geography then return `null` for this value and return counts based on the entire operating area. |
372+
| `vehicle_type` | [Vehicle Type](/agency#vehicle-type) | Type that applies to this row |
373+
| `trip_count` | integer | Count of trips taken for this row |
374+
| `rider_count` | integer | Count of unique riders for this row |
375375

376376
#### Data Notes
377377

378378
Report contents include every combination of special group types, geography IDs, and vehicle types in operation for each month since the provider began operations in the jurisdiction. New files are added monthly in addition to the previous monthly historic files.
379379

380-
Counts are calculated based the agency's local time zone, and this time zone is returned within the `StartDate` value. For months where there is a Daylight Saving Time change, use the timezone that is in the majority of the month. Note that StartDate is based on the moment the trip starts.
380+
Counts are calculated based the agency's local time zone, and this time zone is returned in the `time_zone` column. Trips are counted based on their start time, i.e. if a trip starts in month A but ends in month B, it will be counted only as part of the report for month A.
381381

382382
All geography IDs included in the city published [Geography](/geography) API endpoint are included in the report results. In lieu of serving an API, this can alternately be a [flat file](/geography#file-format) created by the city and sent to the provider via link. If there is no `/geography` available, then counts are for the entire agency operating area, and `null` is returned for each Geography ID.
383383

384384
[Top][toc]
385385

386386
### Reports - Example
387387

388-
For 3 months of provider operation in a city (September 2019 through November 2019) for 3 geographies, 2 vehicle types, and 1 special group. Timezone is Eastern Time in the US which is _-4_ from UTC before November 3, 2019, and _-5_ after. Values of `-1` represent [redacted data](#data-redaction) counts.
388+
For 3 months of provider operation in a city (September 2019 through November 2019) for 3 geographies, 2 vehicle types, and 1 special group. The time zone is `America/New_York`. Values of `-1` represent [redacted data](#data-redaction) counts.
389389

390390
**September 2019** `/reports/2019-09.csv`
391391

392392
```csv
393-
start_date,duration,special_group_type,geography_id,vehicle_type,trip_count,rider_count
394-
2019-09-01T00:00-04,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,1302,983
395-
2019-09-01T00:00-04,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,201,104
396-
2019-09-01T00:00-04,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,530,200
397-
2019-09-01T00:00-04,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,75,26
398-
2019-09-01T00:00-04,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,687,450
399-
2019-09-01T00:00-04,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,98,45
400-
2019-09-01T00:00-04,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,256,104
401-
2019-09-01T00:00-04,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,41,16
402-
2019-09-01T00:00-04,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,201,140
403-
2019-09-01T00:00-04,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,35,21
404-
2019-09-01T00:00-04,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,103,39
405-
2019-09-01T00:00-04,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,15,-1
393+
start_date,time_zone,special_group_type,geography_id,vehicle_type,trip_count,rider_count
394+
2019-09-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,1302,983
395+
2019-09-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,201,104
396+
2019-09-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,530,200
397+
2019-09-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,75,26
398+
2019-09-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,687,450
399+
2019-09-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,98,45
400+
2019-09-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,256,104
401+
2019-09-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,41,16
402+
2019-09-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,201,140
403+
2019-09-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,35,21
404+
2019-09-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,103,39
405+
2019-09-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,15,-1
406406
```
407407

408408
**October 2019** `/reports/2019-10.csv`
409409

410410
```csv
411-
start_date,duration,special_group_type,geography_id,vehicle_type,trip_count,rider_count
412-
2019-10-01T00:00-04,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,1042,786
413-
2019-10-01T00:00-04,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,161,83
414-
2019-10-01T00:00-04,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,424,160
415-
2019-10-01T00:00-04,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,60,0
416-
2019-10-01T00:00-04,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,550,360
417-
2019-10-01T00:00-04,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,78,36
418-
2019-10-01T00:00-04,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,205,83
419-
2019-10-01T00:00-04,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,33,13
420-
2019-10-01T00:00-04,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,161,112
421-
2019-10-01T00:00-04,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,28,-1
422-
2019-10-01T00:00-04,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,82,31
423-
2019-10-01T00:00-04,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,-1,0
411+
start_date,time_zone,special_group_type,geography_id,vehicle_type,trip_count,rider_count
412+
2019-10-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,1042,786
413+
2019-10-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,161,83
414+
2019-10-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,424,160
415+
2019-10-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,60,0
416+
2019-10-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,550,360
417+
2019-10-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,78,36
418+
2019-10-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,205,83
419+
2019-10-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,33,13
420+
2019-10-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,161,112
421+
2019-10-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,28,-1
422+
2019-10-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,82,31
423+
2019-10-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,-1,0
424424
```
425425

426426
**November 2019** `/reports/2019-11.csv`
427427

428428
```csv
429-
start_date,duration,special_group_type,geography_id,vehicle_type,trip_count,rider_count
430-
2019-11-01T00:00-05,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,834,629
431-
2019-11-01T00:00-05,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,129,66
432-
2019-11-01T00:00-05,P1M,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,339,128
433-
2019-11-01T00:00-05,P1M,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,48,-1
434-
2019-11-01T00:00-05,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,440,288
435-
2019-11-01T00:00-05,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,62,29
436-
2019-11-01T00:00-05,P1M,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,164,66
437-
2019-11-01T00:00-05,P1M,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,26,0
438-
2019-11-01T00:00-05,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,129,90
439-
2019-11-01T00:00-05,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,22,-1
440-
2019-11-01T00:00-05,P1M,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,-1,25
441-
2019-11-01T00:00-05,P1M,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,0,0
429+
start_date,time_zone,special_group_type,geography_id,vehicle_type,trip_count,rider_count
430+
2019-11-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,scooter,834,629
431+
2019-11-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,scooter,129,66
432+
2019-11-01,America/New_York,all_riders,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,339,128
433+
2019-11-01,America/New_York,low_income,44428624-186b-4fc3-a7fb-124f487464a1,bicycle,48,-1
434+
2019-11-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,440,288
435+
2019-11-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,scooter,62,29
436+
2019-11-01,America/New_York,all_riders,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,164,66
437+
2019-11-01,America/New_York,low_income,03db06d0-3998-406a-92c7-25a83fc2784a,bicycle,26,0
438+
2019-11-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,129,90
439+
2019-11-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,scooter,22,-1
440+
2019-11-01,America/New_York,all_riders,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,-1,25
441+
2019-11-01,America/New_York,low_income,8ad39dc3-005b-4348-9d61-c830c54c161b,bicycle,0,0
442442
```
443443

444444
[Top][toc]

0 commit comments

Comments
 (0)