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 570

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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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