Skip to content

Package with functions to pull sensor data, sensor IDs, and sensor configuration for MnDOT metro district

Notifications You must be signed in to change notification settings

sullivannicole/tc.sensors

Repository files navigation

tc.sensors

forthebadge forthebadge

contributions welcome HitCount Website MnDOT JSON

Overview

Note: this repo for the package is no longer being maintained. For the most up-to-date version of the package, reach out to the Travel forecasting lead at the Council.

A package for pulling data for Minnesota Department of Transportation (MnDOT) loop detectors installed on the Minnesota Freeway system in 30-second interval measurements of occupancy and volume, data which are pushed daily to a public JSON feed.

Installation

To use this package, clone this repo (open the terminal and navigate to the directory of your choice, then run git clone https://github.com/sullivannicole/tc.sensors) or just download this repo manually by clicking the green "Clone or Download" button above. To install the package, you'll first need the devtools library installed, if you don't have it already. Run install.packages("devtools") in an R script or notebook to do so. Then attach the devtools package by running library(devtools). Last, run build("~/package/path/here"), the path being the directory in which you saved/cloned your local copy of tc.sensors. Alternatively, if you're using RStudio, you can open the tc.sensors.Rproj file and then select "Clean and Rebuild" from the "Build" tab.

Documentation

To access documentation and for help on how to use the package, run ?<FUNCTION-NAME> (e.g. ?pull_sensor, ?pull_configuration, ?pull_sensor_ids). Access vignettes in the vignettes file to see examples of end-to-end workflows for pulling and storing data locally en masse. Check back for a vignette (to be added in the near future!) for calculating speeds, reference speeds, delay, and VMT from the resulting files.

Contributor/Maintainer

About

Package with functions to pull sensor data, sensor IDs, and sensor configuration for MnDOT metro district

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages