ctsit / redcapcustodian

Simplified, automated data management on REDCap systems
Other
12 stars 6 forks source link

Add "best practices for logging" vignette #113

Closed pbchase closed 7 months ago

pbchase commented 1 year ago

Add a vignette providing best practices for logging and the job_summary_data field. This relates to unnest_job_summary_data_json_object() and PR #111. That function is limited by choices developers make during logging. We want to help them make better choices.

The issue arises when two objects in the log data have different row/member counts. The purrr functions can't reconcile the different number of repeats. To avoid this, all objects should have length 1 and/or N. Do not include a third length or a second length that does not equal 1.

pbchase commented 8 months ago

Added vignette in 66da3a8

pbchase commented 7 months ago

Addressed by PR #115