from countries.Countries import Countries


class NorthAmerica(Countries):
    def __init__(self):
        super().__init__()
        self.lst_of_countries = ['Canada', 'United States']
        self.all_papers = self.get_all_papers()


if __name__ == "__main__":
    a = NorthAmerica()
    papers = a.all_papers
    print(len(papers))
    # print(dict(sorted(a.get_themes_distribution_secondary().items(), key=lambda x: x[1], reverse=True)))
    # print(a.get_watercode_distribution_secondary())

from countries.Countries import Countries


class NorthAmerica(Countries):
    def __init__(self):
        super().__init__()
        self.lst_of_countries = ['Canada', 'United States']
        self.all_papers = self.get_all_papers()


if __name__ == "__main__":
    a = NorthAmerica()
    papers = a.all_papers
    print(len(papers))
    # print(dict(sorted(a.get_themes_distribution_secondary().items(), key=lambda x: x[1], reverse=True)))
    # print(a.get_watercode_distribution_secondary())

# print(dict(sorted(a.get_themes_distribution_secondary().items(), key=lambda x: x[1], reverse=True))) # print(a.get_watercode_distribution_secondary())