@@ -11,9 +11,9 @@ experimental](https://img.shields.io/badge/lifecycle-stable-green)](https://life
11
11
status] ( https://www.r-pkg.org/badges/version/metro )] ( https://CRAN.R-project.org/package=metro )
12
12
![ Downloads] ( https://cranlogs.r-pkg.org/badges/grand-total/gluedown )
13
13
[ ![ Codecov test
14
- coverage] ( https://img.shields.io/codecov/c/github/kiernann /metro/master.svg )] ( https://app.codecov.io/gh/kiernann /metro?branch=master' )
14
+ coverage] ( https://img.shields.io/codecov/c/github/k5cents /metro/master.svg )] ( https://app.codecov.io/gh/k5cents /metro?branch=master' )
15
15
[ ![ R build
16
- status] ( https://github.com/kiernann /metro/workflows/R-CMD-check/badge.svg )] ( https://github.com/kiernann /metro/actions )
16
+ status] ( https://github.com/k5cents /metro/workflows/R-CMD-check/badge.svg )] ( https://github.com/k5cents /metro/actions )
17
17
<!-- badges: end -->
18
18
19
19
The goal of metro is to return data frames from the Washington
@@ -31,11 +31,11 @@ install.packages("metro")
31
31
```
32
32
33
33
Or install the development version from
34
- [ GitHub] ( https://github.com/kiernann /metro ) :
34
+ [ GitHub] ( https://github.com/k5cents /metro ) :
35
35
36
36
``` r
37
37
# install.packages("devtools")
38
- devtools :: install_github(" kiernann /metro" )
38
+ devtools :: install_github(" k5cents /metro" )
39
39
```
40
40
41
41
## Key
@@ -59,7 +59,7 @@ Sys.setenv(WMATA_KEY = "e13626d03d8e4c03ac07f95541b3091b")
59
59
``` r
60
60
library(metro )
61
61
packageVersion(" metro" )
62
- # > [1] '0.9.2 '
62
+ # > [1] '0.9.3 '
63
63
```
64
64
65
65
Functions return data frames for easy analysis.
@@ -69,12 +69,12 @@ next_train(StationCodes = "A01")
69
69
# > # A tibble: 6 × 9
70
70
# > Car Destination DestinationCode DestinationName Group Line LocationCode LocationName Min
71
71
# > <int> <chr> <chr> <chr> <int> <chr> <chr> <chr> <int>
72
- # > 1 6 Glenmont B11 Glenmont 1 RD A01 Metro Center -1
73
- # > 2 6 Shady Grove <NA> Shady Grove 2 RD A01 Metro Center -1
74
- # > 3 8 Glenmont B11 Glenmont 1 RD A01 Metro Center 1
75
- # > 4 8 Glenmont B11 Glenmont 1 RD A01 Metro Center 6
76
- # > 5 6 Shady Grove <NA> Shady Grove 2 RD A01 Metro Center 6
77
- # > 6 6 Shady Grove <NA> Shady Grove 2 RD A01 Metro Center 18
72
+ # > 1 6 Glenmont B11 Glenmont 1 RD A01 Metro Center 0
73
+ # > 2 8 Friendship <NA> Friendship 2 RD A01 Metro Center 3
74
+ # > 3 6 Glenmont B11 Glenmont 1 RD A01 Metro Center 8
75
+ # > 4 8 Friendship <NA> Friendship 2 RD A01 Metro Center 10
76
+ # > 5 8 Glenmont B11 Glenmont 1 RD A01 Metro Center 15
77
+ # > 6 8 Friendship <NA> Friendship 2 RD A01 Metro Center 18
78
78
```
79
79
80
80
### Coordinates
@@ -104,16 +104,15 @@ the UTC time zone (+5 hours).
104
104
105
105
``` r
106
106
bus_position(RouteId = " 33" )[, 1 : 8 ]
107
- # > # A tibble: 7 × 8
107
+ # > # A tibble: 6 × 8
108
108
# > VehicleID Lat Lon Distance Deviation DateTime TripID RouteID
109
109
# > <chr> <dbl> <dbl> <dbl> <dbl> <dttm> <chr> <chr>
110
- # > 1 4611 38.9 -77.0 NA 22 2023-11-10 00:14:31 29636020 33
111
- # > 2 7116 39.0 -77.1 NA 0 2023-11-10 00:14:08 18078020 33
112
- # > 3 4572 38.9 -77.0 NA 14 2023-11-10 00:14:16 29847020 33
113
- # > 4 7111 39.0 -77.1 NA -3 2023-11-10 00:14:08 46929020 33
114
- # > 5 4583 38.9 -77.1 NA 6 2023-11-10 00:14:15 16581020 33
115
- # > 6 7107 38.8 -77.4 NA 32 2023-11-10 00:14:35 6694020 33
116
- # > 7 7134 38.9 -77.0 NA 9 2023-11-10 00:14:30 26108020 33
110
+ # > 1 4566 38.9 -77.0 NA 4 2024-03-11 02:50:44 9684010 33
111
+ # > 2 7122 38.9 -77.1 NA 6 2024-03-11 02:50:45 1031010 33
112
+ # > 3 4794 38.9 -77.1 NA 8 2024-03-11 02:50:44 18769010 33
113
+ # > 4 4589 38.9 -77.1 NA 0 2024-03-11 02:50:50 30442010 33
114
+ # > 5 4786 39.0 -77.1 NA 8 2024-03-11 02:51:00 10847010 33
115
+ # > 6 4781 38.9 -77.0 NA 2 2024-03-11 02:50:43 47206010 33
117
116
```
118
117
119
118
Time values are left in Eastern time and are represented using the class
0 commit comments