Exemplo n.º 1
0
    def summarize(self):
        dataset_utils.summarize(self.data, AggregationLevel.COUNTY, [
            self.Fields.DATE, self.Fields.COUNTRY, self.Fields.STATE,
            self.Fields.FIPS
        ])

        print()
        dataset_utils.summarize(
            self.data, AggregationLevel.STATE,
            [self.Fields.DATE, self.Fields.COUNTRY, self.Fields.STATE])
Exemplo n.º 2
0
    def summarize(self):
        dataset_utils.summarize(
            self.data,
            AggregationLevel.COUNTY,
            [
                CommonFields.DATE,
                CommonFields.COUNTRY,
                CommonFields.STATE,
                CommonFields.FIPS,
            ],
        )

        dataset_utils.summarize(
            self.data,
            AggregationLevel.STATE,
            [CommonFields.DATE, CommonFields.COUNTRY, CommonFields.STATE],
        )