Difference between revisions of "ISSS608 2016 17T3 Group12 Report"
Jump to navigation
Jump to search
Line 43: | Line 43: | ||
! R Script | ! R Script | ||
! Output | ! Output | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
| Load crawled data from NEA and combine to one .csv | | Load crawled data from NEA and combine to one .csv | ||
| [[File:G12-ScriptLoad.JPG|framed|]] | | [[File:G12-ScriptLoad.JPG|framed|]] | ||
| [[File:G12-OutLoad.JPG|framed|]] | | [[File:G12-OutLoad.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
| Fix Format Date, for Month and Week, including tidy-ing relevant column | | Fix Format Date, for Month and Week, including tidy-ing relevant column | ||
| [[File:G12-ScriptDate.JPG|framed|]] | | [[File:G12-ScriptDate.JPG|framed|]] | ||
| [[File:G12-OutDate.JPG|framed|]] | | [[File:G12-OutDate.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
| Transform Month and Week to Factors which would let the data be project to the Bar Graph | | Transform Month and Week to Factors which would let the data be project to the Bar Graph | ||
| [[File:G12-ScriptFactor.JPG|framed|]] | | [[File:G12-ScriptFactor.JPG|framed|]] | ||
| [[File:G12-OutFactor.JPG|framed|]] | | [[File:G12-OutFactor.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
| Project the Bar Graph by Monthly and Weekly | | Project the Bar Graph by Monthly and Weekly | ||
| [[File:G12-ScriptWeek.JPG|framed|]][[File:G12-ScriptMonth.JPG|framed|]] | | [[File:G12-ScriptWeek.JPG|framed|]][[File:G12-ScriptMonth.JPG|framed|]] | ||
Line 64: | Line 64: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | | | + | | |
! Description | ! Description | ||
! R Script | ! R Script | ||
! Output | ! Output | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
| Load the Shapefile and use it to create the map with a grid | | Load the Shapefile and use it to create the map with a grid | ||
| [[File:G12-ScriptShp.JPG|framed|]] | | [[File:G12-ScriptShp.JPG|framed|]] | ||
| [[File:G12-OutShp.JPG|framed|]] | | [[File:G12-OutShp.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
|Load the coordinates of each weather station and project it to the map | |Load the coordinates of each weather station and project it to the map | ||
| [[File:G12-ScriptCoords.JPG|framed|]] | | [[File:G12-ScriptCoords.JPG|framed|]] | ||
| [[File:G12-OutMap.png|framed|]] | | [[File:G12-OutMap.png|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
|Filter the rainfall data based on the filter timeframe | |Filter the rainfall data based on the filter timeframe | ||
| [[File:G12-ScriptFilter.JPG|framed|]] | | [[File:G12-ScriptFilter.JPG|framed|]] | ||
| [[File:G12-OutFilter.JPG|framed|]] | | [[File:G12-OutFilter.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
|Run the fit model for the variogram | |Run the fit model for the variogram | ||
| [[File:G12-ScriptVGM.JPG|framed|]] | | [[File:G12-ScriptVGM.JPG|framed|]] | ||
| [[File:G12-OutVGM.png|framed|]] | | [[File:G12-OutVGM.png|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
|Perform the Kriging based on the best fit variogram | |Perform the Kriging based on the best fit variogram | ||
| [[File:G12-ScriptKrig.JPG|framed|]] | | [[File:G12-ScriptKrig.JPG|framed|]] | ||
| [[File:G12-OutKriged.JPG|framed|]] | | [[File:G12-OutKriged.JPG|framed|]] | ||
− | |- | + | |-style="vertical-align: top;horizontal-align: center;" |
|Plot the interpolated values to the SG map | |Plot the interpolated values to the SG map | ||
| [[File:G12-ScriptOverlay.JPG|framed|]] | | [[File:G12-ScriptOverlay.JPG|framed|]] |
Revision as of 20:40, 6 August 2017
|
|
|
|
Contents
Application
The RainyApp can be accessed through:
insert link here.
Methodology
Data Preparation
Description | R Script | Output |
---|---|---|
Load crawled data from NEA and combine to one .csv | ||
Fix Format Date, for Month and Week, including tidy-ing relevant column | ||
Transform Month and Week to Factors which would let the data be project to the Bar Graph | ||
Project the Bar Graph by Monthly and Weekly |
Geospatial Interpolation
Description | R Script | Output | |
---|---|---|---|
Load the Shapefile and use it to create the map with a grid | |||
Load the coordinates of each weather station and project it to the map | |||
Filter the rainfall data based on the filter timeframe | |||
Run the fit model for the variogram | |||
Perform the Kriging based on the best fit variogram | |||
Plot the interpolated values to the SG map |
Shiny Application
Description | R Script | Output |
---|---|---|
row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |