Description Usage Arguments Value Author(s)
View source: R/import_excel_data.R
Imports patient data from excel file.
1 2 3 | import_excel_data(current_data, path, worksheet, var_col,
ignore_na = FALSE, include_missing = FALSE,
excel_col_pid = "usubjid")
|
current_data |
(List) the data that was imported by another call of import_excel_data so that this call will append the new data to the old ones. |
path |
(Character) the path that the excel file can be read from. |
worksheet |
(Character) the worksheet that the desired variable is stored in. |
var_col |
(Character) the column that stores the desired variable |
ignore_na |
(Boolean) (optional) (default: FALSE) a boolean variable that indicates whether to ignore any N/As found in excel (if set to TRUE) or to handle them as missing data (if set to FALSE). |
include_missing |
(Boolean) (optional) (default: FALSE) a boolean that indicated whether to include the missing values as NAs in the data to achieve one to one correspondance in the data if necessary. |
excel_col_pid |
(Character) the column name that specifies the patient id in the excel you provided for the data. |
list of [[1]] patient data for the specified variable. [[2]] missing patient id and variable name as specified in excel that we used to import data.
Agapios Panos <panosagapios@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.