|
| 1 | +# USE CASE: 3 Produce a Capital City Population Report |
| 2 | +## CHARACTERISTIC INFORMATION |
| 3 | +### Goal in Context |
| 4 | +As a data analyst, I want to list all cities by population so that I can compare urban populations worldwide from largest to smallest |
| 5 | + |
| 6 | +### Scope |
| 7 | +Population Reporting System |
| 8 | + |
| 9 | +### Level |
| 10 | +Primary task. |
| 11 | + |
| 12 | +### Preconditions |
| 13 | +The system contains accurate and current population data for all capital cities, including their country and geographic classification. |
| 14 | + |
| 15 | +### Success End Condition |
| 16 | +A city population report is generated, displayed in ascending order and available for analysis. |
| 17 | + |
| 18 | +### Failed End Condition |
| 19 | +No report is produced or the data is incomplete. |
| 20 | + |
| 21 | +### Primary Actor |
| 22 | +Data Analyst. |
| 23 | + |
| 24 | +### Trigger |
| 25 | +A request for city population analysis is initiated by the data analyst or a stakeholder. |
| 26 | + |
| 27 | +## MAIN SUCCESS SCENARIO |
| 28 | +1. Data analyst initiates a request to generate a city population report. |
| 29 | +2. System prompts for report parameters (e.g., global, continent, region, top-N cities). |
| 30 | +3. Data analyst selects desired filters and inputs top-N value if needed. |
| 31 | +4. System retrieves relevant city data including name, country, and population. |
| 32 | +5. System generates and displays the report in ascending order. |
| 33 | +6. Data analyst reviews and exports the report for further analysis or sharing. |
| 34 | + |
| 35 | +## EXTENSIONS |
| 36 | +3. Invalid filter or top-N input: |
| 37 | + * System prompts for correction and re-entry. |
| 38 | + |
| 39 | +4. Data missing or incomplete: |
| 40 | + * System notifies analyst of missing data and suggests alternative filters or data sources. |
| 41 | + |
| 42 | +## SUB-VARIATIONS |
| 43 | + |
| 44 | +- Report filtered by continent only. |
| 45 | +- Report filtered by region only. |
| 46 | +- Report showing top-N capital cities globally. |
| 47 | +- Report showing top-N capital cities within a continent. |
| 48 | + |
| 49 | +## SCHEDULE |
| 50 | +DUE DATE: Release 1.0 |
0 commit comments