dhis2_android_setup_offline_analytics
Enable offline analytics and reporting for DHIS2 Android app by configuring supported chart types, aggregation levels, caching, and export options to enhance data accessibility without internet connectivity.
Instructions
Configure offline analytics and reporting capabilities for DHIS2 Android app
Input Schema
Name | Required | Description | Default |
---|---|---|---|
analyticsFeatures | Yes | Analytics features to include | |
caching | No | ||
chartTypes | No | Chart types to support | |
dataAggregation | No | ||
export | No |
Input Schema (JSON Schema)
{
"properties": {
"analyticsFeatures": {
"description": "Analytics features to include",
"items": {
"enum": [
"charts",
"tables",
"maps",
"indicators",
"dashboards"
],
"type": "string"
},
"type": "array"
},
"caching": {
"properties": {
"cacheDuration": {
"description": "Analytics cache duration (hours)",
"type": "number"
},
"precompute": {
"description": "Pre-compute analytics during sync",
"type": "boolean"
}
},
"type": "object"
},
"chartTypes": {
"description": "Chart types to support",
"items": {
"enum": [
"line",
"bar",
"pie",
"column",
"area"
],
"type": "string"
},
"type": "array"
},
"dataAggregation": {
"properties": {
"levels": {
"description": "Aggregation levels to support",
"items": {
"enum": [
"facility",
"district",
"region",
"national"
],
"type": "string"
},
"type": "array"
},
"periods": {
"description": "Period aggregations to support",
"items": {
"enum": [
"daily",
"weekly",
"monthly",
"quarterly",
"yearly"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"export": {
"properties": {
"formats": {
"description": "Export formats to support",
"items": {
"enum": [
"pdf",
"excel",
"csv",
"image"
],
"type": "string"
},
"type": "array"
},
"sharing": {
"description": "Enable sharing analytics results",
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"analyticsFeatures"
],
"type": "object"
}