Description Usage Arguments Details
View source: R/gen_consent_checklist.r
This function generates a data.frame that can be saved to .csv and used as a checklist for reviewing participant consent documents.
1 2 | gen_consent_checklist(cleanlist, enroll_start = as.Date("2012-01-01"),
enroll_end = Sys.Date())
|
cleanlist |
The list of cleaned TO1 data generated
by |
enroll_start |
The first day of enrollments to review. |
enroll_end |
The last day of enrollments to review. |
Using participant demographics, this function generates a data.frame with a record for every document that needs to be reviewed, with columns for each expected signature.
This is the expected use of this function:
Generate the checklist data.frame
Write the
checklist to .csv using write.csv(checklist.df, file
= file.choose(), row.names = FALSE, row.names = FALSE, na =
"")
Open the .csv in Excel and tidy up the columsn
Print the Excel document
The na = ""
is essential - it creates the blank
checkboxes that you'll mark as you review documents. I
realize this is a crazy mess, but it's the inevitable
consequence of converting a one-off script into a
distributed function. Maybe it'll get refactored someday.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.