Group04 Report

From Visual Analytics and Applications
Revision as of 15:44, 14 August 2018 by Akankshay.2017 (talk | contribs)
Jump to navigation Jump to search
Rainfall Crop Cropped.jpeg

Water For Life: India's Rainfall & Crop Analysis Through Visualizations

Overview

Proposal

Analysis Report

Poster

Application

 


Introduction

This study focuses on exploratory analysis of rainfall pattern, crop productivity and effect of rainfall pattern changes on crop productivity across different meteorological subdivisions of India. Considering a wide range of weather conditions across a vast geographic scale and varied topography, it won’t be wise to generalise climate changes and its effect on crop productivity in varied regions of India, that is why we decided to explore and visualise rainfall pattern changes and its effect on crop productivity for every meteorological subdivision.

Our research focuses on 34 out of 36 meteorological subdivisions rainfall and crop productivity. Two subdivision excluded are Lakshadweep and Andaman & Nicobar subdivisions. Rainfall data used for research is at meteorological subdivisions level however crop data used is at administrative district level. We have maintained same granularity level for visualisation of separate data. For analysing effect of rainfall over crop productivity, district data is aggregated to subdivision level based on mapping of subdivisions and districts.

Crop growing season in India is classified into two main seasons – (i) Kharif and (ii) Rabi based on monsoon. The Kharif cropping season if from July- Oct during south– west monsoon and Rabi cropping season is from October- March (Winter). Crop grown between March- June are Summer Crops. Apart from these seasonal crops there are few crops which are grown throughout year and are classified as Whole year crops. So, we have considered total Four seasons as Kharif, Rabi, Summer and Whole Year for analysis.

We have used multiple visualisation technics such as Time series, Heat Map, Tree Map, Parallel Coordinate Plot, Geo Facet and Bar charts for easy visualisation of varying rainfall pattern and changing crop productivity for 15 years across different subdivisions of India. R is used for data visualisation and application as it offers satisfactory set of inbuilt functions and libraries for both data mining and visualisation.


Objective And Motivation

Climate plays a significant role in economic development of India. Because large population of India depends on climate sensitive sectors like agriculture and forestry for livelihood. Climate change could lower the farmer’s income by up to 25% (Economic Survey 2018: http://mofapp.nic.in:8080/economicsurvey/pdf/082-101_Chapter_06_ENGLISH_Vol_01_2017-18.pdf).This is because agriculture in India is vulnerable to the vagaries of whether as close to 52% farm land is still unirrigated and depends on rainfall. This project is honest endeavor in gaining deeper knowledge into the impact of increasingly changing rainfall patterns, so that we can be prepared to mitigate the risk of these uncontrollable factors and seek remedies that would help sustain such drastic natural phenomenon.

Considering crops cultivation period and water requirement for crop during different stages of its lifecycle, it is important to analyse effect of monthly rainfall on crop productivity during cultivation period rather than simply considering yearly/seasonal average rainfall. Our objective is to provide single view to analyse monthly rainfall pattern changes, crop productivity changes and correlation between every month’s rainfall and crop productivity.


About The Data Source



Critique of the Existing Visualizations


Dashboard Design



Key Insights


Conclusion/Future Work

Given time constraints and the nature of data we gathered, this application is only limited to show the correlation between crop productivity and rainfall pattern changes. We cannot conclude rainfall pattern change is the causation for crop productivity change in Indian agricultural sector, as there are several other factors impacting the cultivation and harvesting of various crops in different regions of India such as temperature, wind, soil as well as capital and government support.

This application can further be improved by including various details of aspects affecting agricultural sector in India, so that cause of crop production decline can be found out using various analytical techniques and further it can be used to predict the future crop production.


Acknowledgement

We would like to extend our gratitude towards Dr Kam Tin Seong (Singapore Management University) for his guidance on analytical techniques and R packages that may be used and feedback on visualisation techniques. Without his encouragement and technical assistance, this project would not be as it is today.


R Packages Used

We have used the following R packages to come up with our visualizations:

dplyr: A Grammar of Data Manipulation. It is a fast, consistent tool for working with data frame like objects, both in memory and out of memory.

tidyr:It's designed specifically for data tidying (not general reshaping or aggregating) and works well with 'dplyr' data pipelines

reshape:Casts a molten data frame into the reshaped or aggregated form you want

readr :The goal of 'readr' is to provide a fast and friendly way to read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes

ggplot:A system for 'declaratively' creating graphics. You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details

Plotly:Easily translate 'ggplot2' graphs to an interactive web-based version and/or create custom web-based visualizations directly from R

SunburstR:Make interactive 'd3.js' sequence sunburst diagrams in R with the convenience and infrastructure of an 'htmlwidget'.

Crosstalk:Provides building blocks for allowing HTML widgets to communicate with each other, with Shiny or without (i.e. static .html files)

Geofacet:Provides geofaceting functionality for 'ggplot2'. Geofaceting arranges a sequence of plots of data for different geographical entities into a grid that preserves some of the geographical orientation

rgdal:Bindings for the 'Geospatial' Data Abstraction Library

leaflet: Library to create Interactive Web Maps with the JavaScript 'Leaflet'

shiny: Web Application Framework for R

shinythemes: Themes for use with Shiny. Includes several Bootstrap themes

shinydashboard: Create dashboards with 'Shiny'. This package provides a theme on top of 'Shiny', making it easy to create attractive dashboards


References

[1] https://www.sciencedirect.com/science/article/pii/S2210600615300277 [2] http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.493.6215&rep=rep1&type=pdf [3] http://iopscience.iop.org/article/10.1088/1755-1315/80/1/012067/pdf [4] https://www.s-cool.co.uk/a-level/geography/agriculture/revise-it/factors-that-affect-the-distribution-of-agriculture [5] http://astrostatistics.psu.edu/su06/inselberg061006.pdf [6] https://plot.ly/r/ [7] https://biblioteca.ucm.es/BUCM/geo/doc22849.pdf [8] https://www.bankexamstoday.com/2017/06/state-wise-list-of-crops-in-india-their.html [9] https://books.google.com.sg/books?id=uEXA7WREvM4C&pg=PA74&lpg=PA74&dq=crop+production+for+36+meteorological+subdivisions+india&source=bl&ots=S3KNIgpfvL&sig=MjvamhPnFYIAMuZIsTju51koXqo&hl=en&sa=X&ved=0ahUKEwj_mYfVlqPcAhWWaCsKHSKDAiQQ6AEIPjAC#v=onepage&q&f=false [10] https://rbi.org.in/Scripts/BS_ViewBulletin.aspx?Id=15564 [11] http://www.imdagrimet.gov.in/ [12] http://hydro.imd.gov.in/hydrometweb/(S(ji3no445rgyhxgenonkbfs55))/DistrictRaifall.aspx [13] http://www.monsoondata.org/customize/