def sec_project_community(self, project=None):
        """
        Generate the data for the Communication section in a Project report
        :return:
        """

        def create_csv(metric1, csv_labels, file_label):
            esfilters = None
            csv_labels = csv_labels.replace("_", "")  # LaTeX not supports "_"
            if project != self.GLOBAL_PROJECT:
                esfilters = {"project": project}

            data_path = os.path.join(self.data_dir, "data")

            file_name = os.path.join(data_path, file_label + "_" + project + ".csv")

            logger.debug("CSV file %s generation in progress", file_name)

            m1 = metric1(self.es_url, self.get_metric_index(metric1),
                         esfilters=esfilters, start=self.end_prev_month, end=self.end)
            top = m1.get_list()
            csv = csv_labels + '\n'
            for i in range(0, len(top['value'])):
                if i > self.TOP_MAX:
                    break
                csv += top[metric1.FIELD_NAME][i] + "," + self.str_val(top['value'][i])
                csv += "\n"

            with open(file_name, "w") as f:
                f.write(csv)

            logger.debug("CSV file %s was generated", file_name)

        logger.info("Community data for: %s", project)

        author = self.config['project_community']['author_metrics'][0]
        csv_labels = 'labels,' + author.id
        file_label = author.ds.name + "_" + author.id
        title_label = author.name + " per " + self.interval
        self.__create_csv_eps(author, None, csv_labels, file_label, title_label,
                              project)

        """
        Main developers

        """
        metric = self.config['project_community']['people_top_metrics'][0]
        # TODO: Commits must be extracted from metric
        csv_labels = author.id + ",commits"
        file_label = author.ds.name + "_top_" + author.id
        create_csv(metric, csv_labels, file_label)

        """
        Main organizations

        """
        orgs = self.config['project_community']['orgs_top_metrics'][0]
        # TODO: Commits must be extracted from metric
        csv_labels = orgs.id + ",commits"
        file_label = orgs.ds.name + "_top_" + orgs.id
        create_csv(orgs, csv_labels, file_label)
Generate the data for the Communication section in a Project report
        :return: