How to reference new variables in a combine for dataframes?

I ended up using the approach taken here: