In the workspace, there’s code that opens a connection to an SQLite database. There’s a function
getAverageTemperatureForYear() that will take a
Try the code written in the editor, pass different years to the function and observe the output. The data in the TemperatureData table spans years from the mid 1800s to about 2004, but it is a small data set representing only a few recording stations, so don’t take any average temperature data from this data set as representative of the real world average temperature.