Change wording for variables in `get_metrics`.

Everywhere else uses table(s) to reference which tables data is coming
from. Creatting an intermediate variable `mapping` makes the list
comprehention a little clearer.