Summarizing data with the dashboard_writer() function