Skip to content

Commit

Permalink
add_stay_id should be based on date, not timestep; and timestep can b…
Browse files Browse the repository at this point in the history
…e duplicated but date should not.
  • Loading branch information
chenyangkang committed Jan 19, 2025
1 parent 5a47cdf commit 83eaf15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tests/testthat/_snaps/RouteDataClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@
4 001 -210524.73 304656.8 163 -87.6298 41.8781 6 2025-02-10
5 003 -210524.73 304656.8 163 -87.6298 41.8781 9 2025-03-01
6 003 -370583.77 422128.3 162 -89.6298 42.8781 18 2025-05-01
7 004 -994397.19 -988364.6 307 -95.3698 29.7604 18 2025-05-01
8 003 -45168.77 190782.0 182 -85.6298 40.8781 22 2025-06-01
7 003 -45168.77 190782.0 182 -85.6298 40.8781 22 2025-06-01
8 004 -994397.19 -988364.6 307 -95.3698 29.7604 18 2025-05-01
route_type stay_id stay_len
1 tracking 1 2
2 tracking 1 2
1 tracking 1 8
2 tracking 1 8
3 tracking 2 1
4 tracking 3 1
5 motus 1 1
6 motus 2 1
7 motus 1 1
8 motus 3 1
7 motus 3 1
8 motus 1 1
Number of routes: 3
Number of points: 8
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
1 1 -225000 -375000 246 -87.58125 35.75464 5 2021-02-01
5 1 -75000 375000 164 -86.00650 42.53498 9 2021-03-01
route_type stay_id stay_len
1 synthetic 1 4
5 synthetic 2 7
1 synthetic 1 22
5 synthetic 2 43

0 comments on commit 83eaf15

Please sign in to comment.