def main():
    get_input_args.create_logging_directories()

    parser = get_input_args.construct_parser_pct_change()
    args = get_input_args.get_args_pct_change(parser)

    run_pipeline_pct_change(args)
Example #2
0
def main():
    get_input_args.create_logging_directories()

    parser = get_input_args.construct_parser_burdenator_loc_agg()
    args = get_input_args.get_args_burdenator_loc_agg(parser)

    LocationAggregator(args.location_set_id, args.year_id, args.rei_id,
                       args.sex_id, args.measure_id, args.gbd_round_id,
                       args.n_draws, args.data_root, args.region_locs,
                       args.write_out_star_ids).get_dataframe()
Example #3
0
def main():
    get_input_args.create_logging_directories()

    parser = get_input_args.construct_parser_burdenator_cleanup()
    args = get_input_args.construct_args_burdenator_cleanup(parser)

    run_burdenator_cleanup(args.out_dir, args.location_id, args.year_id,
                           args.n_draws, args.measure_id, args.cod_dir,
                           args.epi_dir, args.turn_off_null_and_nan_check,
                           args.gbd_round_id,
                           args.write_out_star_ids, args.cache_dir)
def main():
    get_input_args.create_logging_directories()

    parser = get_input_args.construct_parser_burdenator()
    args = get_input_args.get_args_and_create_dirs(parser)

    logger.debug("no_sex_aggr={}".format(args.no_sex_aggr))
    logger.debug("no_age_aggr={}".format(args.no_age_aggr))
    logger.debug("year_id= {}, location_id= {}".format(args.location_id,
                                                       args.year_id))

    shape = run_pipeline_burdenator(args)
    logger.debug(" shape= {}".format(shape))
Example #5
0
def main():
    get_input_args.create_logging_directories()

    parser = get_input_args.construct_parser_upload()
    args = get_input_args.construct_args_upload(parser)

    if args.storage_engine == "COLUMNSTORE":
        upload_root = sub_pub_for_cc(args.out_dir)
    else:
        upload_root = args.out_dir

    run_upload(upload_root, args.gbd_process_version_id, args.location_ids,
               args.table_type, args.upload_to_test, args.storage_engine)