def get_statistics_by_account(self, account_id, term_id):
url = ("<STR_LIT>"<EOL>"<STR_LIT>") % (account_id, term_id)<EOL>return self._get_resource(url)<EOL>
Returns statistics for the given account_id and term_id.

https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.department_statistics