Expect column values to be valid Wikipedia article titles/slugs.
expect_column_values_to_be_valid_wikipedia_articles
This expectation level is EXPERIMENTAL
Contributors:
Tags:
experimental
Metrics:
column_values.nonnull.unexpected_count
column_values.valid_wikipedia_articles.unexpected_count
table.row_count
column_values.valid_wikipedia_articles.unexpected_values
Description
Expect column values to be valid Wikipedia article titles/slugs.
It simply plugs the column value into the Wikipedia URL and checks whether the HTTP status code is 200. This Expectation can be used as a template for other (or a more generic) "does this website exist" type checks, e.g. for things like user handles, dictionary entries, etc.
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