Code availability
All the R scripts are available in the following public GitHub repository: https://github.com/ShawanChowdhury/bd_butterfly_clim_change.