This repository release presents the code and data used to perform all analyses in Staton et al. (2022): Accounting for uncertainty when estimating drivers of imperfect detection: An integrated approach illustrated with snorkel surveys for riverine fishes (DOI: 10.1016/j.fishres.2021.106209) published in the journal Fisheries Research