def _incident_transform(incident):
    """Get output dict from incident."""
    return {
        'id': incident.get('cdid'),
        'type': incident.get('type'),
        'timestamp': incident.get('date'),
        'lat': incident.get('lat'),
        'lon': incident.get('lon'),
        'location': incident.get('address'),
        'link': incident.get('link')
    }
def _incident_transform ( incident ) : return { 'id' : incident . get ( 'cdid' ) , 'type' : incident . get ( 'type' ) , 'timestamp' : incident . get ( 'date' ) , 'lat' : incident . get ( 'lat' ) , 'lon' : incident . get ( 'lon' ) , 'location' : incident . get ( 'address' ) , 'link' : incident . get ( 'link' ) }
Get output dict from incident.