Beispiel #1
0
def all(ctx, bucket):
    d = ProductDownloader()
    check_result(d.dl_drugbank(drugbank_url, bucket, "drugbank"))
    check_result(d.dl_indications(indications_url, bucket, "indications"))
    check_result(d.dl_cms(cms_url, bucket, "cms"))
    check_result(d.dl_gudid(gudid_url, bucket, "gudid"))
    check_result(d.dl_ndc(ndc_url, bucket, "ndc"))
    check_result(d.dl_orange(orange_url, bucket, "orangebook"))
    check_result(d.dl_marketing_codes(marketing_codes_url, bucket, "marketingcodes"))
Beispiel #2
0
def orangebook(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_orange(orange_url, bucket, prefix))
Beispiel #3
0
def marketingcodes(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_marketing_codes(marketing_codes_url, bucket, prefix))
Beispiel #4
0
def ndc(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_ndc(ndc_url, bucket, prefix))
Beispiel #5
0
def gudid(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_gudid(gudid_url, bucket, prefix))
Beispiel #6
0
def cms(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_cms(cms_url, bucket, prefix))
Beispiel #7
0
def indications(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_indications(indications_url, bucket, prefix))
Beispiel #8
0
def drugbank(ctx, bucket, prefix):
    d = ProductDownloader()
    check_result(d.dl_drugbank(drugbank_url, bucket, prefix))