The Python interface to the MDwalks CLUE.
To be defined..
pip install python-clue
from pyclue import CLUE
clue = CLUE(
"localhost", # CLUE server host
9999, # CLUE server port
"[email protected]", # test account name
"password" # test account password
)
conn = clue.connect()
cohort_list = conn.get_cohort_list()
result = conn.get_cohort_person_table(123) # cohort_id: 123
person_list = result.fetchall()
import pandas as pd
result = conn.get_cohort_person_table(123)
df = pd.DataFrame(person_list)
To be defined...
- Chae Jungwoo - [email protected]