mopac

R-CMD-check CRAN status

mopac provides a collection of datasets pertaining to Loop 1 “Mopac” in Austin, TX.

Installation

Install the released version from CRAN with:

install.packages("mopac")

Or install the development version from Github:

devtools::install_github("sccmckenzie/mopac")

Datasets

mopac::rush_hour
#> # A tibble: 962 x 7
#>    day   time                commercial color type  make    model    
#>    <ord> <dttm>              <lgl>      <chr> <chr> <chr>   <chr>    
#>  1 Sun   2020-05-17 17:27:00 FALSE      Blue  Truck Ford    F-150    
#>  2 Sun   2020-05-17 17:27:02 FALSE      Grey  Sedan Honda   Civic    
#>  3 Sun   2020-05-17 17:27:02 FALSE      White SUV   Lexus   LX       
#>  4 Sun   2020-05-17 17:27:02 FALSE      Red   Truck GMC     Sierra   
#>  5 Sun   2020-05-17 17:27:03 FALSE      Green SUV   Honda   CR-V     
#>  6 Sun   2020-05-17 17:27:04 FALSE      Black SUV   Nissan  Rogue    
#>  7 Sun   2020-05-17 17:27:05 FALSE      Black Sedan Hyundai Genesis  
#>  8 Sun   2020-05-17 17:27:06 FALSE      Blue  SUV   GMC     Acadia   
#>  9 Sun   2020-05-17 17:27:06 FALSE      White SUV   Honda   Pilot    
#> 10 Sun   2020-05-17 17:27:07 FALSE      Blue  Van   Ford    Econoline
#> # ... with 952 more rows
mopac::express
#> # A tibble: 13,032 x 6
#>    direction time                plate    make       model    color 
#>    <chr>     <dttm>              <chr>    <chr>      <chr>    <chr> 
#>  1 North     2020-05-20 05:00:33 DZR-4059 Mercedes   S-Series Black 
#>  2 North     2020-05-20 05:01:13 GRG-4300 Nissan     Altima   Grey  
#>  3 North     2020-05-20 05:03:47 QZS-2886 Mazda      6        White 
#>  4 North     2020-05-20 05:04:54 OHK-3972 BMW        i1       White 
#>  5 North     2020-05-20 05:10:41 EAS-1671 Ford       F-250    Silver
#>  6 North     2020-05-20 05:13:53 OKP-7589 Dodge      Journey  White 
#>  7 North     2020-05-20 05:13:55 HNN-1298 Volkswagen Passat   Grey  
#>  8 North     2020-05-20 05:15:59 EWL-6179 Toyota     Venza    Grey  
#>  9 North     2020-05-20 05:16:01 YVH-4374 GMC        Safari   White 
#> 10 North     2020-05-20 05:18:16 DLU-6055 Nissan     Titan    Blue  
#> # ... with 13,022 more rows
mopac::rates
#> # A tibble: 25 x 3
#>    direction time    rate
#>    <chr>     <time> <dbl>
#>  1 North     05:00   0.3 
#>  2 North     15:00   0.6 
#>  3 North     15:30   1.75
#>  4 North     16:00   1.61
#>  5 North     16:30   2.59
#>  6 North     17:00   3.74
#>  7 North     17:30   4.65
#>  8 North     18:00   5.1 
#>  9 North     18:30   2.44
#> 10 North     19:00   0.3 
#> # ... with 15 more rows
mopac::exits
#> # A tibble: 32 x 4
#>       mi    km destination                       notes                          
#>    <dbl> <dbl> <chr>                             <chr>                          
#>  1   0     0   SH 45 west                        <NA>                           
#>  2   0.7   1.1 South Bay Lane                    At-grade intersection; dead en~
#>  3   1.5   2.4 La Crosse Avenue                  <NA>                           
#>  4   2.3   3.7 Slaughter Lane                    Diverging Diamond Interchange  
#>  5   2.9   4.7 Davis Lane                        Southbound exit and northbound~
#>  6   4.7   7.6 William Cannon Drive              <NA>                           
#>  7   6     9.7 US 290 / SH 71 / Southwest Parkw~ Access to Baylor Scott & White~
#>  8   6.6  10.6 Frontage Road                     Southbound exit only           
#>  9   7.5  12.1 Loop 360 (Capital of Texas Highw~ Only one exit ramp travels fro~
#> 10   8.9  14.3 Barton Skyway                     <NA>                           
#> # ... with 22 more rows