connection <- new.SonarConnection('https://example.com', 'localhost', 'test')
delays <- sonarCSV(connection, 'delayed_flights', 'WAFlights', type='find')
cor(delays$ACTUAL_ELAPSED_TIME, delays$WEATHER_DELAY)
Run the code above in your browser using DataLab