{
  "_id": "6a106516acfb0bcc41ca8a7e",
  "Package": "mapspam2globiom",
  "Title": "An R package to create crop distribution maps as input for\nGLOBIOM",
  "Version": "0.0.1",
  "Authors@R": "c( \nperson(given = \"Michiel\",\nfamily = \"Van Dijk\",\nrole = c(\"aut\", \"cre\"),\nemail = \"michiel.vandijk@wur.nl\",\ncomment = c(ORCID = \"0000-0002-5207-7304\")),\nperson(given = \"Esther\",\nfamily = \"Boere\",\nrole = c(\"ctb\"),\nemail = \"boere@iiasa.ac.at\",\ncomment = c(ORCID = \"0000-0003-3863-8731\")),\nperson(given = \"Amanda\",\nfamily = \"Palazzo\",\nrole = c(\"ctb\"),\nemail = \"palazzo@iiasa.ac.at\",\ncomment = c(ORCID = \"0000-0001-8167-9403\"))\n)",
  "Author": "Michiel van Dijk",
  "Maintainer": "Michiel van Dijk <Michiel.vandijk@wur.nl>",
  "Description": "The aim of the mapspam2globiom R package is to facilitate\nthe creation of country level crop distribution maps, which can\nbe used as input by the IIASA's Global Biosphere Management\nModel (GLOBIOM) for a selected country. mapspam2globiom\nincludes several functions to aggregate crop distribution maps\nthat were created with the mapspamc package (Van Dijk et al.\n2022) to the GLOBIOM input format. mapspamc was specifically\ndeveloped to create national crop distribution maps using the\nSpatial Production Allocation Model (SPAM) (You and Wood 2006;\nYou, Wood, and Wood-Sichra 2009; You et al. 2014; Yu et al.\n2020).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "SystemRequirements": "GAMS",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "URL": "https://github.com/iiasa/mapspam2globiom",
  "BugReports": "https://github.com/iiasa/mapspam2globiom/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://iiasa.r-universe.dev",
  "Date/Publication": "2024-05-19 18:30:37 UTC",
  "RemoteUrl": "https://github.com/iiasa/mapspam2globiom",
  "RemoteRef": "HEAD",
  "RemoteSha": "041615e6a630c650644d221579fdd54c1eaea478",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 06:29:48 UTC",
    "User": "root"
  },
  "MD5sum": "7540f422a67316c136828e64e8bbc25b",
  "_user": "iiasa",
  "_type": "src",
  "_file": "mapspam2globiom_0.0.1.tar.gz",
  "_fileid": "5bab00751b43e6c5fba409b1d23dfc53e387e9bd3507840a6fdb377f4f68d897",
  "_filesize": 802552,
  "_sha256": "5bab00751b43e6c5fba409b1d23dfc53e387e9bd3507840a6fdb377f4f68d897",
  "_created": "2026-05-08T06:29:48.000Z",
  "_published": "2026-05-22T14:15:50.792Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77397601413,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6873252464"
    },
    {
      "job": 77397601503,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873251925"
    },
    {
      "job": 77397601586,
      "time": 327,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6873298447"
    },
    {
      "job": 77397601286,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873245629"
    },
    {
      "job": 77397600817,
      "time": 184,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873221890"
    },
    {
      "job": 77397600852,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162678824"
    },
    {
      "job": 77397601429,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6873256489"
    },
    {
      "job": 77397601680,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6873239859"
    },
    {
      "job": 77397601504,
      "time": 443,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873325928"
    }
  ],
  "_buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/iiasa/mapspam2globiom",
  "_commit": {
    "id": "041615e6a630c650644d221579fdd54c1eaea478",
    "author": "Dijk <michiel.vandijk@wur.nl>",
    "committer": "Dijk <michiel.vandijk@wur.nl>",
    "message": "update\n",
    "time": 1716143437
  },
  "_maintainer": {
    "name": "Michiel van Dijk",
    "email": "michiel.vandijk@wur.nl",
    "login": "michielvandijk",
    "orcid": "0000-0002-5207-7304",
    "uuid": 5227806
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "exactextractr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "gdxrrw",
      "role": "Suggests"
    }
  ],
  "_owner": "iiasa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "michielvandijk",
      "count": 115,
      "uuid": 5227806
    }
  ],
  "_userbio": {
    "uuid": 15230149,
    "type": "organization",
    "name": "IIASA",
    "description": "International Institute for Applied Systems Analysis"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapspam2globiom"
  },
  "_devurl": "https://github.com/iiasa/mapspam2globiom",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mapspam2globiom.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "create_globiom_input"
  ],
  "_datasets": [
    {
      "name": "crop2globiom",
      "title": "",
      "object": "crop2globiom",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "globiom_crop",
        "crop"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "esacci2globiom",
      "title": "",
      "object": "esacci2globiom",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "lc_code",
        "class_long",
        "class",
        "R",
        "G",
        "B",
        "lc",
        "globiom_lc_code"
      ],
      "rows": 37,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "create_globiom_input",
      "title": "Creates GLOBIOM crop distribution and land cover input using output from the 'mapspamc' package",
      "topics": [
        "create_globiom_input"
      ]
    }
  ],
  "_readme": "https://github.com/iiasa/mapspam2globiom/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "DBI",
    "dplyr",
    "e1071",
    "exactextractr",
    "generics",
    "glue",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "raster",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sp",
    "terra",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "add_new_crop_to_globiom.Rmd",
      "filename": "add_new_crop_to_globiom.html",
      "title": "Adding a new crop to GLOBIOM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Assigning the new crop in sets",
        "Supply",
        "Demand",
        "Adding demand in base year",
        "Shifting demand for a new crop",
        "Trade"
      ],
      "created": "2020-05-18 20:17:08",
      "modified": "2024-05-19 13:18:12",
      "commits": 3
    },
    {
      "source": "create_updated_globiom_input_data.Rmd",
      "filename": "create_updated_globiom_input_data.html",
      "title": "Create updated GLOBIOM land cover and crop distribution data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Create updated land cover and crop distribution information"
      ],
      "created": "2024-05-19 13:18:12",
      "modified": "2024-05-19 13:18:12",
      "commits": 1
    },
    {
      "source": "installation.Rmd",
      "filename": "installation.html",
      "title": "Installation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Essential R packages",
        "GAMS",
        "References"
      ],
      "created": "2020-04-17 15:28:37",
      "modified": "2024-05-19 13:18:12",
      "commits": 8
    },
    {
      "source": "replace_globiom_land_cover_land_use.Rmd",
      "filename": "replace_globiom_land_cover_land_use.html",
      "title": "Replace land cover and land use information in GLOBIOM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Step 1: Download the GLOBIOM model and GLOBIOM data branches",
        "GLOBIOM_FABLE",
        "Getting Started",
        "Pre compilation",
        "Graphical User Interface",
        "Documentation",
        "Platforms",
        "Terms of Use",
        "GLOBIOM_FABLE_Data",
        "Requirements",
        "Step 2: Set the regional definitions  and the spatial resolution run the data compliation of the data branch",
        "Spatial resolution",
        "Step 3: start a GAMS script (.gms) to load the set and regional definitions and other data from the finaldata subfolder of the model folder",
        "Load national level crop production and price statistics",
        "Example code for including GAMS (.gms) files",
        "Step 4: Loading and replacing the cropland use maps in the appropriate parameters within GLOBIOM",
        "Load the existing cropland use maps",
        "Load the existing land cover maps",
        "Load the new cropland use map and land cover maps from mapspam2globiom",
        "Example code for including gdx files",
        "Step 5:  Replace existing crop land use in CROP_DATA and replace the existing land cover data in LANDCOVER_INIT_CrpGrsForOagADJ",
        "Troubleshooting: reorder or drop dimenstions",
        "Step 6: Udpate the crop yields for new crop areas and identify and fill missing data with averages values",
        "Calculate the crop yield average using FAO Statistics",
        "Calculate the crop yield average using the average of each management system (based on EPIC Data)",
        "Calculate the average crop input requirement using the average of each management system (based on EPIC Data)",
        "Identify the grid cells with missing data and replace with average crop yields",
        "Step 7: Update production costs by crop and management system",
        "Table 2",
        "Example code for updating the crop/management system production costs",
        "Step 8: Harmonize the cropland area with national level statistics and the land cover with the national level statistics",
        "Step 9: Calibrate and rescale the crop yields using the national level statistics",
        "Step 10: Send the updated parameters to the finaldata subfolder in the model branch"
      ],
      "created": "2020-05-20 20:20:57",
      "modified": "2024-05-19 13:18:12",
      "commits": 2
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "mapspam2globiom",
  "_universes": [
    "iiasa",
    "michielvandijk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-08T06:32:08.000Z",
      "distro": "noble",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "70442062251668ed5d58f4ad9c5866838b794e1dcf3048b721a952cf81912d17",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-08T06:32:06.000Z",
      "distro": "noble",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "cd31ed02cdc0eb113ac09832bf194ddc311c1c8e4dacb467ebac15012e1acd1c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-08T06:35:25.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "769615a8da0baba07fa5b7220b3573b62f42b7e07a90e822b3fbc4bf19f9b775",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-08T06:31:37.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "c09be80e6a3b374a4078c493b468aeb5acc22952273b0eddb17d541540c4a647",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-08T06:32:21.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "3604453f3637a6a56cd8613f5e32a1c5b0456810a436b57c4ff29d5739016652",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-08T06:31:12.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "9614b9ee74265048415c31773e55e39fc762a31ec864de71ba6f26097f142b49",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-08T06:37:21.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "335685bae089a14aa363f0594bc1d9d01d7789760790cd5fd46ff940dc52bdc5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-05-22T14:15:34.000Z",
      "commit": "041615e6a630c650644d221579fdd54c1eaea478",
      "fileid": "ef3bc2276f35fec106496aa49eacc220ef15277b68f3ae1d2ee4ce9fa06ae3fe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/iiasa/actions/runs/25540652439"
    }
  ]
}