@detail_route(methods=['POST'])
    def csv_import(self, request, *args, **kwargs):
        resp = submit_csv(request.user.username,
                          self.get_object(),
                          request.FILES.get('csv_file'))

        return Response(
            data=resp,
            status=status.HTTP_200_OK if resp.get('error') is None else
            status.HTTP_400_BAD_REQUEST)
Given a collection of track points packets,
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/api/viewsets/xform_viewset.py/XFormViewSet.csv_import--crossover with--dataset/ETHPy150Open braiden/python-ant-downloader/antd/garmin.py/extract_wpts