```{R, echo=FALSE} knitr::opts_chunk$set(comment = NA, message = FALSE, warning = FALSE, width = 100) knitr::opts_chunk$set(fig.align = "center", fig.height = 4, fig.width = 6) knitr::opts_chunk$set(echo = TRUE)
knitr::opts_chunk$set(cache = FALSE) #, autodep=TRUE) #$
# Installing from source
Set the appropriate path and run this command:
```r
devtools::install_github("erikerhardt/CastorR")
CRF_export.xlsx file sheets and construct the structures to produce an Rdata file with (1) variable question labels, (2) correct factor levels with labels, and (3) correct data and numeric data types.Study results has labels in Study variable listStudy results and Study variable list) has labels in Report variable listField optionsField options gives the factor variable levels and labelsOption group nameOption name labels list with Option value listStudy variable list gives the question names for Study resultsReport variable list gives the question names for other data sheets (between Study results and Study variable list)Variable nameField label is the question namelibrary(labelled) with var_label()Optiongroup namefactor() for each variable using Option group name labels and levelsField type variable data class, useful for date, datetime, and numeric.library(CastorR) dat <- castor_format_R(fn = "CRF_export_2.xlsx") str(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.