Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Retrieves journeys
MATCH (src:Station)<-[t:Trip]->(dst:Station)
WHERE distance(src.loc, point($src)) < $src_radius
AND distance(dst.loc, point($dst)) < $dst_radius
(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