Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement API for Operational Learning statistics #2333

Open
samshara opened this issue Dec 5, 2024 · 0 comments
Open

Implement API for Operational Learning statistics #2333

samshara opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels
DFS DFS implements/leads the implementation

Comments

@samshara
Copy link
Member

samshara commented Dec 5, 2024

This API must also support all filters applicable to the Operational Learning page.
The response should return the following fields:

  • operations_included: Total count of operations based on the applied filters.
  • sources_used: Count of unique sources referenced in the learning data.
  • learning_extracts: Total number of validated learning extracts.
  • sectors_covered: Count of distinct sectors covered.
  • sources_overtime: Year-wise breakdown of sources used, categorized by type:
    • DREF
    • Emergency Appeal
    • International Appeal
    • Forecast-Based Action (FBA)
  • learning_by_region: Learning data grouped by region:
    • region_id: Region ID
    • region_name: Region name
    • count: Number of learning extracts for the region.
  • learning_by_sectors: Learning data grouped by sectors:
    • sector_id: Sector ID
    • sector_name: Sector name
    • count: Number of learning extracts for the sector.
  • learning_by_country: Learning data for map visualization, grouped by country:
    • country_id: Country ID
    • country_name: Country name
    • learning_count: Number of learning extracts in the country.
@samshara samshara added the DFS DFS implements/leads the implementation label Dec 5, 2024
@samshara samshara transferred this issue from IFRCGo/go-web-app Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DFS DFS implements/leads the implementation
Projects
None yet
Development

No branches or pull requests

2 participants