hengtelin / Anchor-Point-Scala-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README --- Anchor Point --- Hengte Lin
---------------------------------------
codes in this folder are used to implement anchor point strategy on Spark using Scala.
To reproduce the work, please follow the instruction below:
1.clean the data and save them into csv files as below:
	data/prescriptions.csv - subject_id, drug
	data/patients.csv      - subject_id, gender, admittime, dob
	data/diagnostics.csv   - subject_id, icd9_code
2. If you wanna change the acnhor list, change them in main.phenotypehasmap
3. Run the Program.

About


Languages

Language:Scala 95.8%Language:Shell 4.2%