All functions

add_day_type()

Append a column with a given date's day type (weekday or weekend), day of week, and day category (holiday, weekend, or weekday)

add_distance()

Find the distance between all sensors based on corridor and direction. Essential for estimating travel time.

add_weather()

Append weather data from Automated Surface Observing System (ASOS) via the Iowa State University API.

aggregate_sensor()

Aggregate raw sensor data to a chosen level

generate_spatial_lines()

Generate spatial lines dataset from sensor configuration

pull_configuration()

Pull metro sensor configuration

pull_sensor()

Pull sensor volume and occupancy

pull_sensor_ids()

Function to pull all sensor IDs in the Twin Cities metro

replace_impossible()

Replace impossible volume and occupancy values with NA at given interval

scrub_sensor()

Scrub sensor level data