This R code release is associated with the paper, Huber, K., H. Waddle, B. Glorioso, and T. Donovan. Two-stage approach to automatic detection with machine learning for improved surveillance of the invasive Cuban treefrog. Ecological Infomatics. In revision. The code begins by downloading the database released on ScienceBase, and accompanying scripts included in this repository to illustrate the analytic steps outlined in the Ecological Informatics article.