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 657

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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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