Created
October 28, 2021 09:59
-
-
Save Hkazanci93/dac0b1223d32f8ed891b468eed2a327f to your computer and use it in GitHub Desktop.
Retrieves journeys
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
MATCH (src:Station)<-[t:Trip]->(dst:Station) | |
WHERE distance(src.loc, point($src)) < $src_radius | |
AND distance(dst.loc, point($dst)) < $dst_radius | |
RETURN | |
(startNode(t) = src) as egress, | |
sum(t.counts[0]) as h0_trip_count, | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment