Write R code to read in the global temperature data that has been stored in a "database-tables" format as two plain text files: one for measurement periods and one for measurements themselves.

Your task is to combine the data from these separate "tables" into a single data frame.

The original plain text file is here and the "model answer" is provided in an R binary format. The following code loads the variable 'glbModel' into an R session ...

    load("GLB.rda")
    

... and you should use the following expression to test that your data frame, 'glbdb' say, is exactly the same as the model answer ...

    all(mapply(identical, glbdb, glbModel))
    

The result of that expression should be 'TRUE'.

The assignment is due at the fifth lecture (9:00am Friday November 16).

Submit your assignment by emailing it to me.