Expect the average pairwise haversine distance between lat/lon points in a column is less than some value in km.
expect_column_average_lat_lon_pairwise_distance_to_be_less_than
This expectation level is EXPERIMENTAL
Description
Expect the average pairwise haversine distance between lat/lon points in a column is less than some value in km.
This expectation will compute the pairwise haversine distance between each (latitude, longitude) pair and test that the average is less than some value in km.
Want to make your own Expectation or an improvement to this one?
We've put together some great how to guides (including videos) on how to create your own expectations in a flash!
You can see those resources here: Contributor Resources