联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Web作业Web作业

日期:2018-04-15 09:59

In this assignment you are required to create an interactive visualisation using R. The visualisation will show both spatial and tabular data and you will need to fit smoothers to the data. It is an individual assignment and worth 5% of your total mark for FIT5147.

Relevant learning outcomes for FIT5147:

1. Perform exploratory data analysis using a range of visualisation tools;

6. Implement interactive data visualisations using python, R and other tools

Details of task:  

The data you are to use can be found below. It is the same data you used in Programming Exercise 1 except that it has been cleaned and reformatted.This shows coral bleaching data for 8 sites in the Great Barrier Reef. It gives the % of bleaching for different kinds of coral: hard corals, sea pens, blue corals, soft corals and sea fans over the last 8 years (though not all sites have data for the entire period and not all corals are found at each site). The data is fictional.

Your job is to

1.Read the data into R

2.Create a static tabular visualisation using ggplot2 that shows for each kind of coral and for each site how the bleaching varies from year to year. You should use faceting with each facet showing the bleaching for one kind of coral at one site across the time period. The sites should be ordered by latitude. Fit smoothers to the data.

3.Based on this static visualisation use Shiny to create an interactive visualisation that allows the user to vary the kind of coral displayed and the choice of smoother.

4.Create a map by using Leaflet that shows the location of the sites.

5.Merge the map into your interactive visualisation. Remember to use some kind of visual indicator to link the sites on the map to the corresponding facet: text label, shape or colour coding.

The data is available at the bottom of the page.

You have to make sure everything is in a deploy state for your Shiny Application (i.e. it can be clicked & run).

Several things you need:

?Include the data file in your submission

?Have all required "library(xxx)" or "require(xxx)" statements at the beginning of your R files (you do not need the code to install the packages)

?Clear objects from the workspace, you can do this by click the "broomstick" icon on the right-top section of RStudio.

And after that, make sure your app is still working with just clicking "run the app" button.

You will lose points if we cannot assess your submission properly.


相关文章

版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp