openownership / lib-cove-bods

Check that your data complies with the Beneficial Ownership Data Standard (BODS) using our install our data review library to analyse files via your command line interface
https://datareview.openownership.org/
Other
1 stars 0 forks source link

2023 04 13 #94

Closed odscjames closed 1 year ago

odscjames commented 1 year ago

This is a requirement for https://github.com/openownership/cove-bods/issues/79 - adding a sample mode. We will do that by running additional checks with only some of the check classes active. But before we can do that we need to split those big legacy classes into smaller ones.


Adding DataReader class with sample mode options. Adding as a class as I can see this expanding soon with options to handle JSONLines files and to provide an iterator as well as get_all_data() methods. Also instances of this class may be passed to other functions, which can then choose how to access it.

odscjames commented 1 year ago

No changes in check and statistics tests - no changes in functionality!