1 Task Data filtering and aggregation is necessary in any project related to artificial intelligence. Before we build an
Posted: Fri May 20, 2022 10:34 am
Note that in the Date column, 10595 means 1999-01-04 and 19034 denotes 2022-02-11 - this is the so-called Unix date, the number of days since 1970-01-01. 2. Draw a plot (see ?plot) of the EUR-to-GBP exchange rates between 2021-01-01 and 2021-12-31, i.e., between days 18628 and 18992, respectively. Use the Date column on the x-axis. Make sure that the most recent observations appear on the right while the oldest are given on the lefthand side of the figure. 3. Compute the minimal, average, and maximal exchange rates for all the 41 currencies in the dataset but only for the year 2021. Display them in a nicely formatted table. Why are some exchange rates missing, e.g., the most recent observations for TRL and SIT? 4. Draw a plot of the AUD-to-GBP exchange rates (by appropriately transforming EUR-to-AUD and EUR-to-GBP columns) for the whole dataset (all dates). 5. Compute the average AUD-to-GBP exchange rates for the whole years (separately for each year) of 2019 (between days 17897 and 18261), 2020 (between days 18262 and 18627), and 2021 (between days 18628 and 18992). 2 Artefacts Make sure that the generated PDF document has a readable structure; in particular, that it is divided into sections. Imagine it is a report that you would like to show to your manager or clients—you certainly want to make a good impression Check your spelling and grammar. The report must include both the results and the R code that generates them. Before each code chunk, explain what its purpose is. After each code chunk, summarise and discuss the results. If needed hide unnecessary text output by setting the results="hide' chunk option. All R code should be thoroughly documented (add comments).