BookmarkSubscribeRSS Feed

How to generate and run business rules with Great Expectations in SAS Studio?

Started ‎02-15-2024 by
Modified ‎02-12-2024 by
Views 280

In my previous SAS Communities article, I explained how to use the Great Expectations - Execute Business Rules custom step to validate your data for min/max values, matching patterns, etc. But what if you need more advanced business rules that are not included in the previous custom step? Or you have a validated dataset and want to generate a set of rules that describe that dataset and reuse those rules on newer data? You might want to try two other Great Expectations custom steps: GE - Generate Expectation Suite and GE - Run Expectation Suite.

 

I’ve recorded a short demo to show you how you can use the GE - Generate Expectation Suite custom step to automatically generate rules based on a "train" dataset, and the GE - Run Expectation Suite custom step to use the generated rules to validate another dataset. All in two simple SAS Studio flows!

 

Comments

great job!

Version history
Last update:
‎02-12-2024 09:48 AM
Updated by:
Contributors

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags