This data set contains CO2 measurements related to leaf cutter ants (Atta cephalotes) and ancillary data taken at La Selva Biological Station, Costa Rica. The data sets are (1) soil CO2 concentrations measurements on nest, non-nest and abandoned nests from 2015 to 2018, (2) soil CO2 emissions measurements on nest, non-nest and abandoned nests from June 2017 to August 2017, and (3) nest vent CO2 emission measurements from June 2017 to August 2017. It as well includes the code to analyze the data with generalized linear mixed models, correlation of soil CO2 concentration with moving average precipitation at several depths, and plots of soil CO2 emissions and volumetric water content on on nest, non-nest and abandoned nests. Finally, it includes the raw results of the code