def main()

in perf_dashboard/posts_stats.py [0:0]


def main():
    project = os.environ.get(GCLOUD_PROJECT_ENV)

    # Get the posts count for each tag
    rows = get_stackoverflow_tags_count()
    tag_count = count_unique_tags(rows)
    bq_utils.insert_rows(
        project, DATASET_NAME, TAG_COUNT_TABLE_NAME, tag_count)

    # Get the list of unanswered posts
    unanswered_posts = get_posts_list_unanswered()
    bq_utils.insert_rows(
        project, DATASET_NAME, UNANSWERED_POSTS_TABLE_NAME, unanswered_posts)