CRAN
MBTAr 2.0.0
Access Data from the Massachusetts Bay Transit Authority (MBTA) Web API
Released Nov 12, 2018 by Justin de Benedictis-Kessner
Dependencies
Access to the MBTA's performance API for R. Creates an easy-to-use bundle of functions to work with all the built-in calls to the MBTA performance API, and some to work with the GTFS-compatible API V3 which replaced some functionality from the old performance API. Allows users to download realtime tracking data in dataframe format that is manipulable in standard R analytics functions. Pulls performance statistics in both realtime and for historical dates and trips (after July 2015).
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>MBTAr</artifactId> <version>2.0.0-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:MBTAr')
Test Results
This package was last tested against Renjin 0.9.2710 on Nov 14, 2018.