willayy / DAT257-Agile

Agile project in DAT257
1 stars 0 forks source link

getCrimeData is invalid #33

Closed willayy closed 5 months ago

willayy commented 6 months ago

Background

The method getCrimeData does not work as we intended. The Swedish police api only returns the latest 500 events which is not the 6 months of data we hoped for. By using the DateTime parameter we can fetch 500 events per day which could be used to generate a backlog of fetches ranging back 3-6 months, the only problem with this is that we have to respect the API limits so fetching this data dynamically will take 1.5-3 hours. Fetching the data and storing it in some kind of persistence storage, however, increases the complexity a lot and therefore its not really viable for the whole project scope.

~Everything considered we will fetch the data dynamically and have a list that expands slowly if you are visiting the website for the first time.~

As a user I want to see a longer timeframe of data

Because

so I can draw real conclusions from the data

Tasks