Example #1
0
def write_organisation_publications_csv(out, organisation):
    aggregate_results = dqorganisations._organisation_indicators(organisation)

    freq = get_frequency_multiplier(organisation.frequency)

    for resultid, result in aggregate_results.items():
        write_agg_csv_result(out, organisation, freq, result)
Example #2
0
def write_organisation_publications_csv(out, organisation):
    aggregate_results = dqorganisations._organisation_indicators(organisation)

    if (organisation.frequency == "less than quarterly"):
        freq = 0.9
    else:
        freq = 1.0

    for resultid, result in aggregate_results.items():
        write_agg_csv_result(out, organisation, freq, result)