-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.R
45 lines (40 loc) · 1.56 KB
/
config.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#' ---
#' title: "Generic R Project Configuration File"
#' author: "Alex F. Bokov, Ph.D."
#' date: "10/18/2018"
#' ---
#'
#### inputdata ####
#'
#' The inputdata variable determines which data files will get read into your
#' project. The values are the file locations and the names are the variables
#' to which they will be assigned after they are read into R
#'
#' In the `config.R` file there should only be simulations of your actual data
#' or datasets that you are _certain_ you have permission to redistribute
#' publicly.
#'
#' If there is also a `local.config.R` file, that one will override `config.R`
#' and that one can contain paths to actual data, presumably on each
#' collaborator's local computer.
inputdata <- c(
dat01 = 'data/testefi.csv'
,dat02 = 'data/testefi.csv'
,dat03 = '2008070328_59178_fef01ac_EFI_dev.tsv'
# a bunch of information about the raw variables from DataFinisher & i2b2
,map0 = 'data/autosugg02_dict_349c1d4c3250.csv'
# manual mappings intended to persist from one refresh to the next
,map1 = 'data/persistent_dict.tsv'
# a table of derived variables which will get created later
,map2 = 'data/derived_var_dictionary.tsv'
# mappings of ICD10 codes to patient safety indicators
# from Southern et al., Medical Care 2017 doi: 10.1097/MLR.0000000000000649
,psi = 'data/southern_icd10patientsafetycodes_medicalcare17.csv'
);
#### project options ####
#' In this project's data dictionaries, the default column name is stored in
#' `colname`
projectoptions <- list(tb.retcol='colname');
project_seed <- '20200727';
#### footer ####
c()