This is a release of data and analysis scripts of the "Associations of inclement weather and poor air quality with non-motorized trail volumes" paper published in Transportation Research Part D. The paper can be accessed at https://doi.org/10.1016/j.trd.2022.103337. The folder "online-repository" contains the data as well as the scripts followed to clean and analyze the data. The folder also consists of the scripts used to create the plots shown in the paper. All scripts are written in R.