srdb
srdb copied to clipboard
Have an ingest.R script
That takes a file of new data, the old data file, and the studies file, and:
- Checks that the new data pass tests
- IF these pass, appends the old data file to the new data file, sets DE to "Y" in the studies file, and moves corresponding PDFs to done folder
In the srdb_check.R file, whenever we have new inputs, could we test whether some new Manipulation, Measure methold, and Partition method records added. If yes, then give us a warning and we can go back to check whether the new records can be grouped to the old one (usually can be).
This idea doesn't belong here but it's a good idea. Moving to separate issue.
Although you're right that during some putative ingest phase, we should check this carefully.