comparisonDatasets
comparisonDatasets:
| null
| {
primary: {
trends: { date: string; chapters: number; count: number }[];
velocity: {
perDay: number;
perWeek: number;
perMonth: number;
totalChapters: number;
activeDays: number;
};
habits: {
byDayOfWeek: { day: string; chapters: number }[];
byTimeOfDay: { hour: string; chapters: number }[];
peakDay: null | string;
peakHour: null | string;
};
};
secondary: {
trends: { date: string; chapters: number; count: number }[];
velocity: {
perDay: number;
perWeek: number;
perMonth: number;
totalChapters: number;
activeDays: number;
};
habits: {
byDayOfWeek: { day: string; chapters: number }[];
byTimeOfDay: { hour: string; chapters: number }[];
peakDay: null | string;
peakHour: null | string;
};
};
primaryLabel: string;
secondaryLabel: string;
}
Result of a statistics aggregation operation including data, options, and timing.
Source