In this example, a scenario is considered where information about cities around world is to be collected and analyzed. This city data set is to include the following:
The name of the continent where this city is located.
The name of the country where this city is located.
The population count of that city in 1950.
The population count of that city in 2000.
The projected population count in 2050.
The GPS location of the any part of the city.
During and after the data collection process, an analyst should be able to query and filter data based on specific parameters. For instance, the analyst should be able to ask the system to display the total number of cities surveyed per continent or the standard deviations of the 1950 population count of the cities surveyed in France. The analyst should also be able to view the results of these queries as charts, tables and be able to download same for analysis offline.
The design of the form used to collect the data should be such that the following constraints are imposed:
All data inputs are compulsory.
The three population count i.e., 1950, 2000 and 2050, must be integer values and cannot be less than zero.
Where data isn’t available for the population count i.e., 1950, 2000 or 2050, the data collector should enter a zero value.
The name of the continent and country chosen for a city must be valid.
The country chosen for a city must be in the correct continent.
The GPS location collected must have an accuracy no more than 5 meters.
In this use case scenario, assume that the data collectors are either English or French speaking and therefore the form should be able to present its input questions in both languages depending on the settings on the device used to collect the data.
To accomplish the objectives of this example the following is covered: