Skip to content

Commit

Permalink
Link to Haversine Distance article on Wikipedia (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 authored May 14, 2024
1 parent a40be2b commit 70e2b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ select * from deduplicated_cte

### haversine_distance ([source](macros/sql/haversine_distance.sql))

This macro calculates the [haversine distance](http://daynebatten.com/2015/09/latitude-longitude-distance-sql/) between a pair of x/y coordinates.
This macro calculates the [haversine distance](https://en.wikipedia.org/wiki/Haversine_formula) between a pair of x/y coordinates.

Optionally takes a `unit` string argument ('km' or 'mi') which defaults to miles (imperial system).

Expand Down

0 comments on commit 70e2b04

Please sign in to comment.