-
Notifications
You must be signed in to change notification settings - Fork 0
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 names for bundles and test they are consistent #17
Conversation
Agreed, having it run off |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the :::
everywhere for get_raw_dir()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't have to call library()
or omopbundles::*
in tests, as the package code should work independently of that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀 Just some suggestions regarding library()
and ::
/:::
calls
Just wondering how the bundle_names.csv
files get generated? Might be worth adding a script to reproduce these files to the package. A common place for this could be data-raw/bundle_names.R
Co-authored-by: Milan Malfait <[email protected]>
Co-authored-by: Milan Malfait <[email protected]>
I think the names should be manually curated, or exported from the source system |
Moved raw data to new structure with a separate file for the names, and added in some tests to ensure that we can detect inconsitencies. Bit of refactoring of raw data functions, expect that once we have a release serving off a package .rda file that we'll change the raw data to live outside of the package but seems fine for now as we still need to serve from the package.