예제 #1
0
파일: pcg.py 프로젝트: invinciblejha/kaggle
def get_patient_dict():
    """Return dict whose keys are MemberIDs and patient sex and age 
        categories
    """
    return common.get_dict_all(get_patient_filename(), None)     
예제 #2
0
def get_drugcount_dict(year):
    """Return dict whose keys are MemberIDs and DrugCount DSFS and count 
        categories
    """
    return common.get_dict_all(get_drugcount_filename(year), int)     
예제 #3
0
파일: pcg.py 프로젝트: invinciblejha/kaggle
def get_pcg_counts_dict(year):
    """Return dict whose keys are MemberIDs and values are PCG counts for all the PCG 
        categories
    """
    return common.get_dict_all(get_pcg_filename(year), int) 
예제 #4
0
def get_counts_dict(prefix, year):
    return common.get_dict_all(get_counts_filename(prefix, year), int)