def locationFromRow(row): returned = Location() returned.address = row['Address1'] + ', ' + row['Address2'] + ', VIC, Australia' returned.name = row['Name'] returned.attributes['phone'] = row['phone'] return returned
def locationFromRow(row): returned = Location() returned.address = row['Street'] + ', ' + row['Suburb'] + ', ' + row['State'] + ', Australia' returned.name = row['Service Name'] returned.attributes['LGA'] = row['LGA'] return returned
def locationFromRow(row): returned = Location() returned.address = row['Address1'] + ' ' + row['Address2'] + ' ' + row['Suburb'] + ' ' + row['State'] + ', Australia' returned.name = row['Title'] returned.attributes['phone'] = row['Contact1_Phone'] returned.attributes['category'] = 'Public internet location' returned.attributes['Cost'] = row['Cost'] returned.attributes['Bookings'] = row['Bookings'] returned.attributes['Mon_Open_Time'] = row['Opening_Hours_Mon_Open'] returned.attributes['Mon_Close_Time'] = row['Opening_Hours_Mon_Close'] returned.attributes['Tue_Open_Time'] = row['Opening_Hours_Tue_Open'] returned.attributes['Tue_Close_Time'] = row['Opening_Hours_Tue_Close'] returned.attributes['Wen_Open_Time'] = row['Opening_Hours_Wen_Open'] returned.attributes['Wen_Close_Time'] = row['Opening_Hours_Wen_Close'] returned.attributes['Thu_Open_Time'] = row['Opening_Hours_Thu_Open'] returned.attributes['Thu_Close_Time'] = row['Opening_Hours_Thu_Close'] returned.attributes['Fri_Open_Time'] = row['Opening_Hours_Fri_Open'] returned.attributes['Fri_Close_Time'] = row['Opening_Hours_Fri_Close'] returned.attributes['Sat_Open_Time'] = row['Opening_Hours_Sat_Open'] returned.attributes['Sat_Close_Time'] = row['Opening_Hours_Sat_Close'] returned.attributes['Sun_Open_Time'] = row['Opening_Hours_Sun_Open'] returned.attributes['Sun_Close_Time'] = row['Opening_Hours_Sun_Close'] returned.attributes['Num_Terminals'] = row['Num_Terminals'] returned.attributes['Friendly_Terminals_Disability'] = row['Disability_Friendly_Terminals'] returned.attributes['Printing_Available'] = row['Printing_Available'] returned.attributes['Touch_Screen'] = row['Touch_Screen'] returned.attributes['Trackball'] = row['Trackball'] returned.attributes['Large_Keyboard'] = row['Large_Keyboard'] returned.attributes['Large_Monitor'] = row['Large_Monitor'] returned.attributes['Accessibility_Options'] = row['Accessibility_Options'] returned.attributes['Speech_Synthesizer'] = row['Speech_Synthesizer'] returned.attributes['Software_Disability'] = row['Disability_Software'] returned.attributes['Documentation'] = row['Documentation'] returned.attributes['Assistance'] = row['Assistance'] returned.attributes['Staff_Multilingual'] = row['Multilingual_Staff'] returned.attributes['Access_Multilingual'] = row['Multilingual_Access'] returned.attributes['Training'] = row['Training'] returned.attributes['Wheelchair_Access'] = row['Wheelchair_Access'] returned.attributes['Funded'] = row['Funded'] returned.attributes['Environment'] = row['Environment'] returned.attributes['Arm/Base Adjustable'] = row['Adjustable Arm/Base'] returned.attributes['Desk Adjustable'] = row['Adjustable Desk'] returned.attributes['Content Filtering'] = row['Content Filtering'] returned.attributes['Food Kiosk'] = row['Food Kiosk'] return returned
def locationFromRow(row): returned = Location() returned.address = row['DHS Office Location'] + ', Australia' returned.name = 'DHS' + row['Type of office'] returned.attributes['phone'] = row['Telephone'] returned.attributes['Type of office'] = row['Type of office'] returned.attributes['LGA01'] = row['LGA1'] returned.attributes['LGA02'] = row['LGA2'] returned.attributes['LGA03'] = row['LGA3'] returned.attributes['LGA04'] = row['LGA4'] returned.attributes['LGA05'] = row['LGA5'] returned.attributes['LGA06'] = row['LGA6'] returned.attributes['LGA07'] = row['LGA7'] returned.attributes['LGA08'] = row['LGA8'] returned.attributes['LGA09'] = row['LGA9'] returned.attributes['LGA10'] = row['LGA10'] return returned