lines 69-81:
function mcexpr(i)
#note that the below syntax is the simplest way to store a long string over multiple lines
#(i.e., appending additional characters per line)
#Also, note that order of operations forces us to put each condition in parentheses
mcriteria = "nonLBOs[:matchsubset] = (nonLBOs[:industrygroup3].== LBOs[$i,:industrygroup3])"
mcriteria = mcriteria * " .* (nonLBOs[:decade].==LBOs[$i,:decade])"