michielvandijk/mapspamc: An R package to create crop distribution maps

The aim of the mapspamc R package is to facilitate the creation of country level crop distribution maps. mapspamc provides the necessary infrastructure to run the Spatial Production Allocation Model (SPAM) for country level studies. The model builds on the global version of SPAM (You et al., 2006; You et al., 2009 et al.; You et al., 2014 and Yu et al., 2020), which used a cross-entropy optimization approach to 'pixelate' national and subnational crop statistics on a spatial grid at a resolution of 5 arc minutes. mapspamc was specifically developed to support country level analysis and makes it possible to incorporate national sources of information and create maps at a higher resolution of 30 arc seconds.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.0.2
URL https://github.com/michielvandijk/mapspamc https://michielvandijk.github.io/mapspamc/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("michielvandijk/mapspamc")
michielvandijk/mapspamc documentation built on April 17, 2025, 7:31 p.m.