An app to visualize key dates for various crops organized by country and region. Once you make a selection of the region using drop-down menus, the calendar will be displayed. This app uses the crop calendar dataset from Sacks et al. (2010) and is built using Shiny.
Live demo at https://asheshwor.shinyapps.io/cropcal/
This app can also be run from RStudio using the following code:
## Install missing packages
packagesRequired <- c("shiny", "rgeos", "RColorBrewer",
"dplyr", "ggplot2")
packagesToInstall <- packagesRequired[!(packagesRequired %in%
installed.packages()[,"Package"])]
if(length(packagesToInstall)) install.packages(packagesToInstall)
## Run app from Github repo
shiny::runGitHub('asheshwor/cropcal')
Cropping calendar data from Sacks et al. (2010).
- fix overlaps with some cases
- add associated climate data
Code distributed under the terms of the MIT license.
See individual licenses for external data/tools used if any.
- Sacks, W.J., D. Deryng, J.A. Foley, and N. Ramankutty (2010). Crop planting dates: an analysis of global patterns. Global Ecology and Biogeography 19, 607-620. DOI: 10.1111/j.1466-8238.2010.00551.x