This report analyzes UTA OnDemand ridership data from 2021 to 2025 for Salt Lake County, Utah. UTA OnDemand is an on-demand microtransit service operated by the Utah Transit Authority (UTA) that allows riders to request trips within designated service areas. The data was obtained through a GRAMA (Government Records Access and Management Act) request and includes pickup and dropoff coordinates for all service areas across Salt Lake County.
The analysis covers the following topics:
The following packages are used in this analysis. The
tidyverse package is used for data wrangling and
visualization. The sf and mapview packages are
used for spatial data processing and mapping. The leaflet
and leaflet.extras packages are used for interactive
heatmap visualization. The tigris package is used to load
U.S. Census geographic boundary data.
The dataset covers 2021 through mid-2025 and was pre-combined into a single CSV file from 11 individual data files obtained through the GRAMA request. Each record includes trip-level data with origin and destination coordinates, as well as the request creation timestamp. The total number of records and column names are printed below to verify the data was loaded correctly.
## Total records: 1206700
## Columns: Request.Creation.Date, Request.Creation.Time, Session.ID, Request.ID, Request.Status, Origin.Address, Origin.Lat, Origin.Lng, Origin.Zone, Destination.Address, Destination.Lat, Destination.Lng
The dataset is converted from a standard data frame into a spatial
(sf) object using the destination longitude and latitude
columns. The coordinate reference system (CRS) is set to WGS84 (EPSG:
4326), which is the standard geographic coordinate system used for GPS
data.
The Request.Creation.Time column is parsed into a
datetime object using the mdy_hm() function from the
lubridate package. Individual time components — year,
month, date, hour, and year-month — are extracted as separate columns to
allow for temporal analysis in the sections below.
This section analyzes the total number of UTA OnDemand trips per year
from 2022 to 2024. The bar chart below shows the annual ridership
totals. The group_by() and summarize()
functions are used to calculate the total number of trips for each
year.
The bar chart shows that ridership increased each year from 2022 to 2024. This upward trend suggests that UTA OnDemand has been growing in popularity and usage across Salt Lake County over the three-year period.
This section analyzes the monthly ridership totals from 2022 to 2024. The bar chart below shows the number of trips for each month. This allows for identification of seasonal patterns and any months with unusually high or low ridership.
The monthly chart shows that ridership is generally consistent throughout the year, with some variation across months. Ridership levels in 2024 are noticeably higher than in 2022 and 2023 for most months, which is consistent with the year-over-year growth observed in the annual chart above.
This section analyzes the average number of trips by hour of day for the year 2023. To calculate the average, the total trips are first counted for each combination of month, date, and hour. These daily totals are then averaged by hour across all days in 2023. This approach gives a more accurate representation of typical hourly demand compared to simply summing all trips by hour.
The chart shows that ridership peaks in the late morning to early afternoon hours, roughly between 9AM and 2PM. Trip demand drops significantly in the early morning hours (midnight to 6AM) and declines again in the late evening. This pattern suggests that UTA OnDemand is primarily used for midday trips rather than traditional commute-hour travel.
The map below displays 10,000 randomly sampled trip destination points from the full dataset. This provides a general overview of the geographic distribution of trip destinations across Salt Lake County. Each point represents a single trip destination. A sample is used instead of the full dataset to improve map rendering performance.