Open tbdv opened 6 years ago
in theory we can probably move this processing to the database side.
currently it happens on the client side and takes a long time.
https://github.com/BayAreaMetro/clpr/blob/master/R/complete_trip.R#L30-L36
attempt at this on the branch above.
dplyr to sql translation gets stuck at the lag:
https://github.com/BayAreaMetro/clpr/blob/5757b9f955f858a6842901c109708f037f340b3b/R/complete_trip.R#L34
right now this takes about 7 mins
in theory we can probably move this processing to the database side.
currently it happens on the client side and takes a long time.
https://github.com/BayAreaMetro/clpr/blob/master/R/complete_trip.R#L30-L36