851 viewby integers and dates

Closes #851