Now that we've set up dbt tests in the data-architecture repo, we should set up something similar for PTAXSIM.
All scripts in data-raw/ actually populate an S3 bucket that feed the tax database in Athena. It should be relatively simple to add dbt tests on top of the tax data which need to pass prior to PTAXSIM export. Some ideas for tests:
- Class code of each PIN is contained in our class dictionary
- PIN-level AVs match iasWorld records
- PIN-level class codes match iasWorld
- Tax code of each PIN matches iasWorld
Now that we've set up dbt tests in the data-architecture repo, we should set up something similar for PTAXSIM.
All scripts in
data-raw/actually populate an S3 bucket that feed thetaxdatabase in Athena. It should be relatively simple to add dbt tests on top of the tax data which need to pass prior to PTAXSIM export. Some ideas for tests: