def get_department_level_grade_data_with_given_term(self, term_id):
response = self._requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.id, term_id)<EOL>)<EOL>return response.json()<EOL>
Return the distribution of all available or concluded grades with the given term

:calls: `GET /api/v1/accounts/:account_id/analytics/terms/:term_id/grades \
<https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.department_grades>`_

:param term_id: The ID of the term, or the strings "current" or "completed"
:type term_id: int or str

:rtype: dict