Open-sourced coding to measure the socioeconomic impact of environmental stressors, developed by the BEST-COST project.