I need help to do: Consider the data in the file. The file contains data on relative humidity (rh), precipitation (pr), and temperature (tas). The data is presented for three emission scenarios, RPC26, RPC45, and RPC85. (3 points)
• Write code to read the relative humidity data. Merge all the emission scenarios into a single database. In the final database, create a variable indicating the emission scenario. Use the list.files() function to print the file names, the lapply function to read all the files, and the do.call function to merge the databases.
• Write a generalized function that allows reading all the other files, precipitation and temperature. Test the function.
https://www.dropbox.com/scl/fi/zju3otoo8u88qalr3i7cs/CORDEX_DATA.zip?dl=0&file_subpath=%2FCORDEX_BEIRA&rlkey=qqy7od63qc14cri8fcnwrif77