def main():
    mac.acquire()
    san.analyze()
    man.analyze()
    mre.reporting()
    print(
        '========================= Pipeline is complete. You may find the results in the folder ./data/results and my Tweeter account!========================='
    )
예제 #2
0
def main(country, job):
    data = mac.acquire()
    relevant_data = mwr.transform_data(data)
    clean_data, countries_codes = mwr.country_name_import(relevant_data)
    select_job, key_uuid = mwr.job_data(clean_data, job)
    filtered_data = mwr.job_filtering(clean_data, select_job, key_uuid)
    filtered_data = man.country_filtering(filtered_data, country,
                                          countries_codes)
    result = man.analyze(filtered_data, job, clean_data)
    mre.visualizing_histogram(result['Age'], country, job)
    mre.reporting(result)
    print(
        '======= Pipeline is complete. You may find the results in the folder ./data/results ======='
    )
예제 #3
0
def main(country):
    print('Starting pipeline...')

    # Acquisition
    m_acquisition.acquisition()

    # Wrangling
    df = m_wrangling.wrangling()

    # Analysis
    final_data = m_analysis.analyze(df, country)

    # Reporting
    m_reporting.reporting(final_data, country)

    print('pipeline finished...')
예제 #4
0
def main(args):
    print('starting the analysis procedure...')
    all = acq.getall(args.path)
    moreall = wrang.wrangling(all)
    report = anal.grouptable(moreall, args.country)
    finish = rep.reporting(report, args.country)
    print(finish)
    print('pipeline finished')
예제 #5
0
def main(arguments):

    data = mac.acquire(arguments.path)
    filtered = mwr.wrangle(data, arguments.unemployed)
    results = man.analyze(filtered)
    reporting = mre.reporting(results, arguments.country)

    reporting.to_csv('./data/results/Results.csv')

    print(reporting)

    print(
        '\n\n======================|    Pipeline is complete. You may find the results in the folder ./data/results     |==============================\n\n'
    )