View source: R/helperFunctions.R
checkPrescriptionFormat | R Documentation |
We need an ID, date column, ATC and DDD column. The date column has to be of class Date.
checkPrescriptionFormat( df, idColumn = "PATIENT", dateColumn = "VISIT", atcColumn = "ATC", dddColumn = "cDDD" )
df |
the data frame to check |
idColumn |
name of ID column: default is PATIENT |
dateColumn |
name of date column: default is VISIT. This column has to be of class Date |
atcColumn |
name of the ATC column: default is ATC |
dddColumn |
name of the DDD column: default is DDD |
NULL if there are format problems, otherwise a data frame that has a PATIENT, VISIT, ATC and DDD column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.