From the course: Data Quality Testing with Great Expectations

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Using Data Docs

Using Data Docs

Finally, to wrap up our initial exploration of GX, let's take a look at DataDocs. DataDocs is documentation that's built into GX and shows all your expectations and your validation results on a nicely formatted web page, rather than just the text output that we've just seen. In order to view the validation results in DataDocs, we need to follow these steps. First, run the validations. Second, generate DataDocs. And third, run Datadocs in a web server so we can view the web page. We've already run the validation, so let's jump straight to step two and generate the Datadocs from our notebook code. Simply run the following code in a notebook to call the buildDatadocs method. This generates the Datadocs HTML pages and outputs a path. The Docker container that we're using for this course also runs a web server that serves Data Docs for us, but we've actually customized it to serve the docs at a different URL. So you can access the Data Docs page in your browser at localhost port 8080 slash…

Contents