Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing check for Codebook row counts #86

Open
sam-pullman opened this issue Sep 22, 2023 · 3 comments
Open

Add testing check for Codebook row counts #86

sam-pullman opened this issue Sep 22, 2023 · 3 comments
Assignees

Comments

@sam-pullman
Copy link
Contributor

In the VariableCodebook, the 'Count' value represents the row counts for each variable.
In containerBuildTests.R, create an additional test to verify these counts.
Failure of this test would represent an issue with the CDC file, not necessarily a failure of the ETL process.

Up for discussion: Should this test abort the build process, or just print the info to the console?

@sam-pullman
Copy link
Contributor Author

If this is valuable enough information to store inside the db, I can create a new metadata table similar to Meatdata.DownloadErrors that catalogs the Variable, TableName, CodeOrValue, ValueDescription, ExpectedCount, and DBCount. Thoughts @rgentlem @nathan-palmer ?

@rgentlem
Copy link

rgentlem commented Sep 22, 2023 via email

@nathan-palmer
Copy link
Collaborator

nathan-palmer commented Sep 22, 2023 via email

@sam-pullman sam-pullman self-assigned this Dec 4, 2023
@sam-pullman sam-pullman added this to the v0.3.0 milestone Dec 4, 2023
@sam-pullman sam-pullman removed this from the v0.3.0 milestone Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants