sameerd / ppmi Goto Github PK
View Code? Open in Web Editor NEWAnalysis of Parkinson's Progressive Markers Initiative Data
Home Page: http://www.ppmi-info.org/
Analysis of Parkinson's Progressive Markers Initiative Data
Home Page: http://www.ppmi-info.org/
Hello,
I am trying to use your database but i have a problem.
When i execute the next command:
· "python scripts/create_ppmi_database.py"
This error appears:
Traceback (most recent call last):
File "scripts/create_ppmi_database.py", line 8, in
import ppmilib
ImportError: No module named ppmilib
I do not know how to install this lib. When i execute that:
·"sudo pip3 install ppmilib"
This error appears:
Collecting ppmilib
ERROR: Could not find a version that satisfies the requirement ppmilib (from versions: none)
ERROR: No matching distribution found for ppmilib
And i dont know where can i download the requirements.
Can you help me please?
Thank you very much.
Alejandro.
It seems the PPMI updated its file list since the scripts have been created. When running the create scripts, multiple files are not processed correctly.
I have the following output showing all the files being processed but some tables are not created because of change in filename or new files.
I pasted my output of the create script below.
basename | pat_id | pag_cnt | table_name | |
---|---|---|---|---|
0 | Prodromal_Diagnostic_Questionnaire.csv | True | 2 | None |
3 | FOUND_RFQ_Calcium_Channel_Blockers.csv | False | 0 | None |
13 | FOUND_RFQ_Height___Weight.csv | False | 0 | None |
22 | Use_of_PD_Medication.csv | True | 2 | None |
34 | FOUND_RFQ_Head_Injury.csv | False | 0 | None |
38 | Current_Biospecimen_Analysis_Results.csv | True | 0 | None |
42 | Primary_Diagnosis.csv | True | 3 | None |
46 | Cognitive_Assessments.csv | True | 2 | None |
47 | FOUND_RFQ_Pesticides_at_Work.csv | False | 0 | None |
48 | FOUND_RFQ_Caffeine.csv | False | 0 | None |
51 | FOUND_RFQ_Occupation.csv | False | 0 | None |
52 | FOUND_RFQ_Female_Reproductive_Health.csv | False | 0 | None |
57 | FOUND_RFQ_Smoking_History.csv | False | 0 | None |
58 | Gait_Data___Arm_swing.csv | True | 0 | None |
60 | Pilot_Biospecimen_Analysis_Results.csv | True | 0 | None |
75 | FOUND_RFQ_Dictionary.csv | False | 0 | None |
77 | FOUND_Enrollment_Status.csv | True | 0 | None |
82 | 151_Project_Extra___Buffer_and_Calibrator_Data... | False | 0 | None |
84 | Derived_Variable_Definitions_and_Score_Calcula... | False | 0 | None |
85 | Semantic_Fluency.csv | True | 2 | None |
86 | MDS_UPDRS_Part_III.csv | True | 4 | None |
87 | Deprecated_Biospecimen_Analysis_Results.csv | True | 0 | None |
96 | FOUND_RFQ_Alcohol.csv | False | 0 | None |
102 | FOUND_Self-Reported_Dx.csv | True | 0 | None |
106 | FOUND_RFQ_Pesticides_Non-Work.csv | False | 0 | None |
108 | FOUND_RFQ_Toxicant_History.csv | False | 0 | None |
111 | FOUND_RFQ_Anti-Inflammatory_Meds.csv | False | 0 | None |
116 | FOUND_RFQ_Residential_History.csv | False | 0 | None |
121 | FOUND_RFQ_Physical_Activity.csv | False | 0 | None |
122 | Vital_Signs.csv | True | 2 | None |
Hi this repo looks really useful! I'm recieving an error in the setup script and wondered if you had any advice as wo what I may be doing wrong!
> python3 scripts/create_ppmi_database.py
Processing Code_List.csv
Processing Data_Dictionary.csv
Processing Derived_Variable_Definitions_and_Score_Calculations.csv
Processing Page_Descriptions.csv
Processing Skin_Biopsy.csv
....
Processing ambulatory.csv
basename pat_id pag_cnt table_name
2 Derived_Variable_Definitions_and_Score_Calcula... False 0 None
7 Gait_Data___Arm_swing.csv True 0 None
10 IUSM_ASSAY_DEV_CATALOG.csv False 0 None
12 FOUND_Enrollment_Status.csv True 0 None
13 FOUND_RFQ_Dictionary.csv False 0 None
.. ... ... ... ...
214 pulserate.csv False 0 None
215 prv.csv False 0 None
216 onwrist.csv False 0 None
217 inbedtimes.csv False 0 None
218 ambulatory.csv False 0 None
[152 rows x 4 columns]
Maximum Table name is larger than 8
Traceback (most recent call last):
File "/home/ec2-user/.local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: True
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "scripts/create_ppmi_database.py", line 158, in <module>
print (pd_results[tmax > 8])
File "/home/ec2-user/.local/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in __getitem__
indexer = self.columns.get_loc(key)
File "/home/ec2-user/.local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: True
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.