Tabular remarks - condition for setting the additional columns #492
Labels
post-processing
Specimen table export preparation for import using OpenRefine
Specify
Related to (interactions with) the Specify SW system
What is the issue ?
Currently the columns are 'naively' set in post processing via the Monitoring script.
Astrid has brought up the issue that these columns should only be set in case that the record has remark/notes values.
Detailed description of the issue.
A Digi app export csv will have the columns "datafile_source" and "datafile_date" and "datafile_remarks" added even if the original export contained no remarks values.
Why is it needed/relevant ?
A database row should be meaningful and default values should be used sparingly.
Estimate level of effort required.
easy
What is the expected acceptable result.
The datafile date should only be applied to record that in fact have a remark.
On the other hand the datafile_source must be applied to all records since it was requested by the data manager for the purpose of tracking all records back to their original source.
How to approach it?
In the monitoring script insert a condition on the dataframe for when to fill in the datafile_date column.
The text was updated successfully, but these errors were encountered: