sp_rast | R Documentation |
get raster for crop in mapspam dataset
sp_rast(crp, africa = FALSE)
crp |
character. name of a crop. Case-insensitive. |
africa |
Fetch the 2017 Mpaspam crop data of Africa. Default is FALSE. |
See geodata::spamCrops()
for supported crops.
SpatRaster
International Food Policy Research Institute, 2020. Spatially-Disaggregated Crop Production Statistics Data in Africa South of the Sahara for 2017. <doi: 10.7910/DVN/FSSKBW>, Harvard Dataverse, V2
geodata::spamCrops()
search_crop()
sp_rast("potato")
sp_rast("potato", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.