parameters: (request, _id)
docstring: Set a highlight date in RawData. Should be an AJAX POST.
  
      :param request: Django request object (Required)
      :type request: :class:`django.http.HttpRequest`
      :param _id: The ObjectId of the RawData.
      :type _id: str
      :returns: :class:`django.http.HttpResponse`
docstring_summary: Set a highlight date in RawData. Should be an AJAX POST.
docstring_tokens: Set a highlight date in RawData . Should be an AJAX POST .
function: def set_raw_data_highlight_date(request, _id):
      """
      Set a highlight date in RawData. Should be an AJAX POST.
  
      :param request: Django request object (Required)
      :type request: :class:`django.http.HttpRequest`
      :param _id: The ObjectId of the RawData.
      :type _id: str
      :returns: :class:`django.http.HttpResponse`
      """
  
      if request.method == 'POST':
          date = request.POST['date']
          line = request.POST['line']
          analyst = request.user.username
          return HttpResponse(json.dumps(update_raw_data_highlight_date(_id,
                                                                        date,
                                                                        line,
                                                                        analyst)),
                              content_type="application/json")
      else:
          error = "Expected POST"
          return render(request, "error.html", {"error" : error })
function_tokens: def set_raw_data_highlight_date ( request , _id ) : if request . method == 'POST' : date = request . POST [ 'date' ] line = request . POST [ 'line' ] analyst = request . user . username return HttpResponse ( json . dumps ( update_raw_data_highlight_date ( _id , date , line , analyst ) ) , content_type = "application/json" ) else : error = "Expected POST" return render ( request , "error.html" , { "error" : error } )