Filtering Searching - COS301-SE-2024/BeakPeek GitHub Wiki
You are able to filter all birds by either full or partial name of the bird.
A single request is sent to the database retrieving all the statistic about the birds in a specified location.
All text is is converted to lowercase and is then compared to the names of the birds to fine the best matches or exact matches
The initial list of birds is saved locally so that when filtering you do not have to make a recall to the database allowing us to keep data cost down.
Additionally this method allows us to save the lists of birds for different regions
The lists will be saved and available for offline use
The Searchable birds are prefiltered to only display 1 instance of each bird that has the the Highest reporting rate for that region.
The birds are also prefiltered by the region that has been selected.