-
-
Save dima-thumbtack/045ba3c4065ff51ca4004aa53ce11205 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val timeToCustomerContact = timeDiff[AnalyticsQuote, Long](_.sent_time, _.first_customer_contact_time) | |
val customerContactWithin3Days = lessThan[AnalyticsQuote, Long](timeToCustomerContact(_), 86400*1000*3) | |
val CustomerContactsWithin3Days = countIf[AnalyticsQuote](customerContactWithin3Days(_)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment