View source: R/generate_barcodes.R
This is the main worker function of the whole package. generate_barcodes
wraps up the barcode creation and arrangement and
saves them in the specified directory.
1 2 3 4 5 6 7 8 9 | generate_barcodes(
filePath,
ID,
DOB,
GENDER,
ADDRESS,
TYPE = c("FORM", "LOG", "FBC"),
pathRename = FALSE
)
|
filePath |
A valid directory path where barcodes are saved |
ID |
A character string of participant ID |
DOB |
A character string of Date-of Birth in the following format; DD/MM/YYYY |
GENDER |
A character of either M or F (for Male and Female respectively) |
ADDRESS |
A character string with no white space which is used as the sample address |
TYPE |
A character vector of any of the following options
|
pathRename |
logical; if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.