def normalise(self, data, uri, view_date): ans = super().normalise(data, uri, view_date) # Salary not in metadata location_raw = location_jsonld(data) return { **ans, "location_raw": location_raw, **AU_GEOCODER.geocode(location_raw), }
def normalise(self, data, uri, view_date): ans = super().normalise(data, uri, view_date) salary_raw = data["baseSalary"]["value"].get("value") salary = get_salary_data(salary_raw) location_raw = location_jsonld(data) return { **ans, **salary, "location_raw": location_raw, **AU_GEOCODER.geocode(location_raw), }