Expect values in a column to be valid geojson strings as defined in https://geojson.org/.
expect_column_values_to_be_valid_geojson
This expectation level is EXPERIMENTAL
Contributors:
Tags:
geospatial
hackathon-2022
Metrics:
column_values.nonnull.unexpected_count
column_values.valid_geojson.unexpected_count
table.row_count
column_values.valid_geojson.unexpected_values
Description
Expect values in a column to be valid geojson strings as defined in https://geojson.org/.
Note that this makes use of https://pygeos.readthedocs.io/en/stable/io.html#pygeos.io.from_geojson which has some limitations.
Args:
column (str): The column name.
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