Expect the average of a column of degree-decimal, lat/lon coordinates to be in range of a given point.
expect_column_average_to_be_within_range_of_given_point
This expectation level is EXPERIMENTAL
Backend support:#
Description#
Class Name:
ExpectColumnAverageToBeWithinRangeOfGivenPoint
Short Description:
Expect the average of a column of degree-decimal, lat/lon coordinates to be in range of a given point.
Docstring:
Expect the average of a column of degree-decimal, lat/lon coordinates to be in range of a given point.
Renderers#
We have yet to add renderers to this expectation.
Examples#
lat_lon |
---|
62.75955799999999-164.483752 |
62.7673475-164.4996625 |
62.7698675-164.5034575 |
62.76901333333333-164.50339 |
62.76906333333334-164.50353333333337 |
Tests
basic_positive_test
Input:
column: lat_lon,
center_point: 62.7597,-164.484,
range: 8,
}
Output:
success: true,
}
No Data
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