@@ -32,11 +32,11 @@ NACCulator will automatically skip PTIDs with errors, so the output `data.txt`
32
32
file will be ready to submit to NACC.
33
33
In order to properly filter the data in the csv, NACCulator is expecting that
34
34
REDCap visits (denoted by ` redcap_event_name ` ) contain certain keywords:
35
- "initial" for initial visit packets,
36
- "follow" for all followups,
35
+ "initial" for all initial visit packets (including telephone and optional modules such as lbd) ,
36
+ "follow" for all followups (including version 3.1 telephone and optional modules) ,
37
37
"milestone" for milestone packets,
38
38
"neuropath" for neuropathology packets,
39
- "telephone " for telephone followup packets ,
39
+ "tele " for old (version 3.0) telephone followups ,
40
40
"covid" for covid-related survey packets
41
41
42
42
NACCulator collects data from the Z1X form first and uses that to determine the
@@ -54,8 +54,8 @@ the `-file` flag._
54
54
55
55
$ redcap2nacc -h
56
56
usage: redcap2nacc [-h]
57
- [-fvp | -ivp | -tfp | -np | -m | -cv | -csf | -f {cleanPtid,replaceDrugId,fixHeaders,fillDefault,updateField,removePtid,removeDateRecord,getPtid}]
58
- [-lbd | -ftld] [-file FILE] [-meta FILTER_META] [-ptid PTID]
57
+ [-fvp | -ivp | -tip | - tfp | -tfp3 | -np | -np10 | -m | -cv | -csf | -f {cleanPtid,replaceDrugId,fixHeaders,fillDefault,updateField,removePtid,removeDateRecord,getPtid}]
58
+ [-lbd | lbdsv | -ftld] [-file FILE] [-meta FILTER_META] [-ptid PTID]
59
59
[-vnum VNUM] [-vtype VTYPE]
60
60
61
61
Process redcap export data through nacculator.
@@ -65,23 +65,25 @@ the `-file` flag._
65
65
-fvp Set this flag to process as FVP data
66
66
-ivp Set this flag to process as IVP data
67
67
-tfp Set this flag to process as Telephone Followup Packet v3.2 data
68
+ -tip Set this flag to process as Telephone Initial Packet data
68
69
-tfp3 Set this flag to process as TFP v3.0 (pre-2020) data
69
- -np Set this flag to process as Neuropathology data
70
+ -np Set this flag to process as Neuropathology version 11 data
71
+ -np10 Set this flag to process as Neuropathology version 10 data
70
72
-m Set this flag to process as Milestone data
71
73
-cv Set this flag to process as COVID data
72
74
-csf Set this flag to process as NACC BIDSS CSF data
73
75
74
76
-f {cleanPtid,replaceDrugId,fixHeaders,fillDefault,updateField,removePtid,removeDateRecord,getPtid}, --filter {cleanPtid,replaceDrugId,fixHeaders,fillDefault,updateField,removePtid,removeDateRecord,getPtid}
75
- Set this flag to process the filter
77
+ Set this flag to run the data through the chosen filter
76
78
-lbd Set this flag to process as Lewy Body Dementia data (FORMVER = 3)
77
79
-lbdsv Set this flag to process as Lewy Body Dementia short version data (FORMVER = 3.1)
78
80
-ftld Set this flag to process as Frontotemporal Lobar Degeneration data
79
81
80
- -file FILE Path of the csv file to be processed.
82
+ -file FILE Path of the csv file to be processed
81
83
-meta FILTER_META Input file for the filter metadata (in case -filter is used)
82
84
-ptid PTID Ptid for which you need the records
83
- -vnum VNUM Ptid for which you need the records
84
- -vtype VTYPE Ptid for which you need the records
85
+ -vnum VNUM Visit number for which you need the records
86
+ -vtype VTYPE Visit type for which you need the records
85
87
86
88
87
89
** Example** - Process a Neuropathology form:
@@ -359,9 +361,9 @@ To run all the tests:
359
361
$ python3 -m unittest
360
362
361
363
362
- To run only the tests in a file:
364
+ To run only the tests in a specific file:
363
365
364
- $ python3 tests/WHICHEVER_test .py
366
+ $ python3 tests/test_$SPECIFIC_FILE .py
365
367
366
368
367
369
### Generating Forms
0 commit comments