Difference between revisions of "ISSS608 2016 17T3 Group12 Report"
Jump to navigation
Jump to search
| Line 36: | Line 36: | ||
=Methodology= | =Methodology= | ||
| − | =Data Preparation= | + | ==Data Preparation== |
{| class="wikitable" | {| class="wikitable" | ||
| Line 45: | Line 45: | ||
|- | |- | ||
| 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-OutLoad.JPG|framed|]] |
|- | |- | ||
| − | | Fix Format Date, for Month and Week | + | | Fix Format Date, for Month and Week, including tidy-ing relevant column |
| − | | | + | | [[File:G12-ScriptDate.JPG|framed|]] |
| − | | | + | | [[File:G12-OutDate.JPG|framed|]] |
|- | |- | ||
| 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-OutFactor.JPG|framed|]] |
| + | |- | ||
| + | | Project the Bar Graph by Monthly and Weekly | ||
| + | | [[File:G12-ScriptWeek.JPG|framed|]][[File:G12-ScriptMonth.JPG|framed|]] | ||
| + | | [[File:G12-OutWeekly.png|framed|]][[File:G12-OutMonthly.png|framed|]] | ||
|} | |} | ||
| Line 66: | Line 70: | ||
|- | |- | ||
| 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-OutShp.JPG|framed|]] |
|- | |- | ||
|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-OutMap.png|framed|]] |
|- | |- | ||
| − | |Filter the rainfall data | + | |Filter the rainfall data based on the filter timeframe |
| − | | | + | | [[File:G12-ScriptFilter.JPG|framed|]] |
| − | | | + | | [[File:G12-OutFilter.JPG|framed|]] |
|- | |- | ||
|Run the fit model for the variogram | |Run the fit model for the variogram | ||
| − | | | + | | [[File:G12-ScriptVGM.JPG|framed|]] |
| − | | | + | | [[File:G12-OutVGM.png|framed|]] |
|- | |- | ||
|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-OutKriged.JPG|framed|]] |
|- | |- | ||
|Plot the interpolated values to the SG map | |Plot the interpolated values to the SG map | ||
| − | | | + | | [[File:G12-ScriptOverlay.JPG|framed|]] |
| − | | | + | | [[File:G12-OutInter.png|framed|]] |
| − | |- | ||
|} | |} | ||
Revision as of 20:11, 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 |




