Library Occupancy Analysis with Weather

Dec 1, 2023 · 1 min read
Cover of our presentation
This project is fully rendered online that can be found here.

In this project, we investigated whether weather conditions influence student occupancy patterns at UCSD libraries, specifically Geisel and WongAvery. We combined hourly gate count data from the libraries with weather data from NOAA’s La Jolla station, covering the 2022-2023 academic year. After extensive data cleaning to remove outliers, weekends, and nighttime hours, we merged both datasets for analysis.

Our exploratory analysis revealed interesting patterns: Geisel occupancy remained relatively stable throughout quarters, with no dramatic spike during finals week—contrary to common belief. We also found that Fridays and weekends consistently had lower foot traffic. When examining the relationship between temperature and library visits, we observed a weak but positive linear correlation during Fall and Spring quarters, suggesting that milder weather encourages more students to visit. However, Winter quarter showed no clear relationship, as students appeared to visit regardless of temperature.

Overall, while we found some evidence supporting our hypothesis that weather affects library occupancy, the relationship is modest. Many other factors—such as academic schedules, midterms, and personal study habits—likely play more significant roles. We also identified data quality issues with WongAvery and excluded it from final analysis, highlighting the importance of robust data collection for future work.