def map_fields(self, api):
        return {'external_id': api['ID'],
                'state_id': api['State_Id'],
                'name': api['Premise_Name'],
                'type': api['Est_Type'],
                'address': api['Premise_Address1'],
                'city': api['Premise_City'],
                'county': 'Durham',
                'state': 'NC',
                'postal_code': api['Premise_Zip'],
                'phone_number': api['Premise_Phone'],
                'opening_date': api['Opening_Date'],
                'update_date': api['Update_Date'],
                'status': api['Status'],
                'lat': api['Lat'],
                'lon': api['Lon']}
Map CSV field names from Durham's API to our database schema
dataset/ETHPy150Open codefordurham/Durham-Restaurants/eatsmart/locations/durham/api.py/EstablishmentImporter.map_fields