def METHOD_NAME():
    # Grab the latest list of clusters defined in infrastructure/ explicitly ignoring
    # the test clusters in the ./tests directory
    clusters = get_clusters_list()
    hub_list = []
    for cluster_info in clusters:
        cluster_path = cluster_info.parent
        if "schema" in cluster_info.name or "staff" in cluster_info.name:
            continue
        # For each cluster, grab it's YAML w/ the config for each hub
        yaml = cluster_info.read_text()
        cluster = safe_load(yaml)
        # Try to identify the data centre location of the cluster
        # For kubeconfig and Azure providers, this will always default to None since
        # we do not store that information in the cluster.yaml file
        #
        # First try "zone" for GCP clusters
        datacentre_loc = cluster.get(cluster["provider"], {}).get("zone", None)
        if datacentre_loc is None:
            # Try "region" for AWS clusters
            datacentre_loc = cluster.get(cluster["provider"], {}).get("region", None)
        grafana_url = get_cluster_grafana_url(cluster, cluster_path)
        # Define the cloud provider for this cluster which we'll insert into the table below
        # For clusters where we know the provider but can't guess it from the YAML file,
        # we define a few custom mappings.
        provider = get_cluster_provider(cluster)
        # Don't display anything about Console UI if no info about datacentre available
        cluster_console_url = None
        # We mostly use our 2i2c account to login into cloud provider UI's
        # with a few exceptions
        account = cluster.get("account", "2i2c")
        cluster_console_url = get_cluster_console_url(
            cluster, provider, account, datacentre_loc
        )
        # For each hub in cluster, grab its metadata and add it to the list
        for hub in cluster["hubs"]:
            # Domain can be a list
            if isinstance(hub["domain"], list):
                hub["domain"] = hub["domain"][0]
            hub_list.append(
                build_hub_list_entry(
                    cluster,
                    hub,
                    grafana_url,
                    provider,
                    datacentre_loc,
                    account,
                    cluster_console_url,
                )
            )
    # Write raw data to CSV and JSON
    df = pd.DataFrame(hub_list)
    community_hubs_by_cluster = build_hub_statistics_df(df)
    df.set_index("name", inplace=True)
    write_to_json_and_csv_files(df, "hub-table")
    write_to_json_and_csv_files(community_hubs_by_cluster, "hub-stats")
    print("Finished updating list of hubs and statics tables...")