def METHOD_NAME(self, request):
    filters = request.GET
    search = CollectionSearch(filters)
    file_type = request.GET.METHOD_NAME('fileType', None)
    if not file_type:
        file_type = 'csv'
    site_results = None
    collection_results = search.process_search()
    if file_type == 'csv':
        return self.convert_to_cvs(
            collection_results,
            site_results,
            BioCollectionOneRowSerializer)
    elif file_type == 'geojson':
        return self.convert_to_geojson(
            collection_results,
            BiologicalCollectionRecord,
            BioCollectionGeojsonSerializer)
    else:
        return Response([])