associatedpress / apdatacheck

Data import and analysis validation library
8 stars 0 forks source link

Design overall checking function #3

Open larryfenn opened 5 years ago

larryfenn commented 5 years ago

In development we've created a few types of checks. Some make sense to run inside a pipe, but others operate as more of a tool for examining the contents of a data frame. For end-users, we need an overall interface that is easy to grasp.

The most straightforward path is to follow Michelle's structure and make functions for users the same way. For example, since ETL is all one section, we would pull out all the functions that were pipeline appropriate for ETL and call that check_etl(...), and all the functions that serve a more diagnostic purpose left to be invoked one at a time.

larryfenn commented 5 years ago

This is no longer really the way the library is intended to work. Instead, the API for users should be something like: