{
  "_id": "6a106428acfb0bcc41ca86ea",
  "Package": "MRG",
  "Type": "Package",
  "Title": "Create Non-Confidential Multi-Resolution Grids",
  "Version": "0.3.10",
  "Authors@R": "c(person(given = c(\"Jon\", \"Olav\"),\nfamily = \"Skoien\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jon.skoien@gmail.com\"),\nperson(given = \"Nicolas\",\nfamily = \"Lampach\",\nrole = \"aut\"))",
  "Maintainer": "Jon Olav Skoien <jon.skoien@gmail.com>",
  "Description": "The need for anonymization of individual survey responses\noften leads to many suppressed grid cells in a regular grid.\nHere we provide functionality for creating multi-resolution\ngridded data, respecting the confidentiality rules, such as a\nminimum number of units and dominance by one or more units for\neach grid cell. The functions also include the possibility for\ncontextual suppression of data. For more details see Skoien et\nal. (2025) <doi:10.48550/arXiv.2410.17601>.",
  "License": "GPL(>=3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "LazyData": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://jskoien.r-universe.dev",
  "Date/Publication": "2025-07-08 13:14:21 UTC",
  "RemoteUrl": "https://github.com/jskoien/mrg",
  "RemoteRef": "HEAD",
  "RemoteSha": "3267752ba97603331d6141ec3ec9a3cf007058d7",
  "Packaged": {
    "Date": "2026-05-08 06:53:01 UTC",
    "User": "root"
  },
  "Author": "Jon Olav Skoien [aut, cre],\nNicolas Lampach [aut]",
  "MD5sum": "4ebe477c3c3fdef314159f853522d2de",
  "_user": "jskoien",
  "_type": "src",
  "_file": "MRG_0.3.10.tar.gz",
  "_fileid": "d97c4781bb5179ee37605498ba3a246215c5c7f0d930c7f9e493f86162a71796",
  "_filesize": 1532651,
  "_sha256": "d97c4781bb5179ee37605498ba3a246215c5c7f0d930c7f9e493f86162a71796",
  "_created": "2026-05-08T06:53:01.000Z",
  "_published": "2026-05-22T14:11:52.784Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77396807134,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6873624152"
    },
    {
      "job": 77396806962,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873629913"
    },
    {
      "job": 77396807242,
      "time": 478,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6873686640"
    },
    {
      "job": 77396807504,
      "time": 243,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873630481"
    },
    {
      "job": 77396803822,
      "time": 290,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873569017"
    },
    {
      "job": 77396806241,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162592138"
    },
    {
      "job": 77396807249,
      "time": 194,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6873618003"
    },
    {
      "job": 77396807326,
      "time": 183,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6873615768"
    },
    {
      "job": 77396807603,
      "time": 677,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6873734106"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jskoien/mrg",
  "_commit": {
    "id": "3267752ba97603331d6141ec3ec9a3cf007058d7",
    "author": "Jon Skoien <skoiejo@ies.jrc.it>",
    "committer": "Jon Skoien <skoiejo@ies.jrc.it>",
    "message": "Updating to new version submitted to CRAN\n",
    "time": 1751980461
  },
  "_maintainer": {
    "name": "Jon Olav Skoien",
    "email": "jon.skoien@gmail.com",
    "login": "jskoien",
    "uuid": 5970319
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stars",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sjmisc",
      "role": "Imports"
    },
    {
      "package": "vardpoor",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "giscoR",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "units",
      "role": "Suggests"
    },
    {
      "package": "ggforce",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "jskoien",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 5970319,
    "type": "user",
    "name": "jskoien"
  },
  "_downloads": {
    "count": 231,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MRG"
  },
  "_devurl": "https://github.com/jskoien/mrg",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MRG.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jskoien/mrg",
  "_realowner": "jskoien",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.14",
      "date": "2024-09-12"
    },
    {
      "version": "0.3.1",
      "date": "2024-10-28"
    },
    {
      "version": "0.3.10",
      "date": "2025-07-11"
    },
    {
      "version": "0.3.21",
      "date": "2025-11-27"
    },
    {
      "version": "0.3.23",
      "date": "2026-01-07"
    },
    {
      "version": "0.3.25",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "createMRGobject",
    "fssgeo",
    "gridData",
    "locAdjFun",
    "MRGcluster",
    "MRGfromDF",
    "MRGmerge",
    "MRGoverlap",
    "MRGplot",
    "MRGpostProcess",
    "multiResGrid",
    "remSmall"
  ],
  "_datasets": [
    {
      "name": "ifs_dk",
      "title": "Test data sets for the MRG package",
      "object": "ifs_dk",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "COUNTRY",
        "YEAR",
        "ID_SYNTH",
        "FARMTYPE",
        "HLD_FEF",
        "REGIONS",
        "SO_EUR",
        "GEO_LCT",
        "EXT_CORE",
        "STRA_ID_CORE",
        "UAA",
        "UAAXK0000_ORG",
        "Sample",
        "EXT_MODULE"
      ],
      "rows": 37088,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "createMRGobject",
      "title": "Create a single object containing all necessary objects for multiResGrid functions",
      "topics": [
        "createMRGobject",
        "print.MRG"
      ]
    },
    {
      "page": "fssgeo",
      "title": "Function that creates an sf-object from IFS data",
      "topics": [
        "fssgeo"
      ]
    },
    {
      "page": "gridData",
      "title": "Function that converts point data to gridded data (polygon values) or a list of gridded data",
      "topics": [
        "gridData"
      ]
    },
    {
      "page": "ifs_dk",
      "title": "Test data sets for the MRG package",
      "topics": [
        "ifs_dk"
      ]
    },
    {
      "page": "locAdjFun",
      "title": "Function that modifies the observation locations, to reduce the risk that they are on grid cell boundaries",
      "topics": [
        "locAdjFun"
      ]
    },
    {
      "page": "MRGcluster",
      "title": "Function that allows to apply parallel processing",
      "topics": [
        "MRGcluster"
      ]
    },
    {
      "page": "MRGfromDF",
      "title": "Function to create a gridded (usually multi-resolution grid) from a data.frame or csv file with information about the corners and resolution, as typically can be downloaded from Eurostat. The function can also save the grid as a geo-object.",
      "topics": [
        "MRGfromDF"
      ]
    },
    {
      "page": "MRGmerge",
      "title": "Merge two or more multi-resolution grids to a common resolution",
      "topics": [
        "MRGmerge"
      ]
    },
    {
      "page": "MRGoverlap",
      "title": "Function that finds and merges overlapping grid cells in a multi-resolution grid The need for this function comes from an error in the gridding process, and it can be seen as symptom solving rather than solving the issue.  This function will either just show the problematic grid cells or remove the overlaps.",
      "topics": [
        "MRGoverlap"
      ]
    },
    {
      "page": "MRGplot",
      "title": "Convenience function based on ggplot2 to plot multi-resolution grids with some default suggestions For full flexibility it is better to use ggplot2 directly.The function can also be used for ordinary grids",
      "topics": [
        "MRGplot"
      ]
    },
    {
      "page": "MRGpostProcess",
      "title": "Make some final adjustments to the multiresolution grids",
      "topics": [
        "MRGpostProcess"
      ]
    },
    {
      "page": "multiResGrid",
      "title": "Create multi-resolution grids based on confidentiality or reliability restrictions",
      "topics": [
        "multiResGrid",
        "multiResGrid.list",
        "multiResGrid.MRG",
        "multiResGrid.sf"
      ]
    },
    {
      "page": "remSmall",
      "title": "Function that will move values from grid cells with small values to the ones with larger values for disclosure control reasons",
      "topics": [
        "remSmall"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "boot",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "datawizard",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "insight",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "laeken",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "plyr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sjlabelled",
    "sjmisc",
    "stars",
    "stringi",
    "stringr",
    "surveyplanning",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vardpoor",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "MRG.rmd",
      "filename": "MRG.html",
      "title": "MRG example",
      "author": "Jon Olav Skoien",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The Farm Structure Survey data",
        "Methods",
        "multiResGrid",
        "Examples",
        "Reading data and producing basic grids",
        "Only number of holdings"
      ],
      "created": "2024-09-16 13:32:04",
      "modified": "2024-09-16 13:32:04",
      "commits": 1
    }
  ],
  "_score": 3.3802112417116064,
  "_indexed": true,
  "_nocasepkg": "mrg",
  "_universes": [
    "jskoien"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.10",
      "date": "2026-05-08T06:55:28.000Z",
      "distro": "noble",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "793594768ca29abb24d724a818c5deb9e6b152aaa6b81267bfbcca03f91daa54",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.10",
      "date": "2026-05-08T06:55:48.000Z",
      "distro": "noble",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "3119658376581f15edd6df53726efcfb8b6557fef5fd7d78a617e682f2eac965",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.10",
      "date": "2026-05-08T06:59:53.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "d9cf395c7ca582a8a7109d3689ffd04483db6dea1683b3d7d42c859fbde6d551",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.10",
      "date": "2026-05-08T06:56:04.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "7e63795ecaf2aeffae2b25302dbbc25cb7a1efff2b77c32b54ff5662a8b0e67a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.10",
      "date": "2026-05-08T06:54:41.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "6f03a7c581eeac78dccdcc3a7f31d74255f4f8c77fc455c3317717efe9cbd28b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.10",
      "date": "2026-05-08T06:54:29.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "3a6f892efc156999517407a1c9a51424b4910132f97d7e11e77877af74d3f9ea",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.10",
      "date": "2026-05-08T07:03:06.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "6c10b9e721dc0a3a50d3c5abf1dc0e4ed22158d9fa02ed474a724b8eef22e527",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.10",
      "date": "2026-05-22T14:11:32.000Z",
      "commit": "3267752ba97603331d6141ec3ec9a3cf007058d7",
      "fileid": "64d7003ca4fc4ce420b55a66b40429eec19645fe5a682f117fc4701858f31578",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jskoien/actions/runs/25541475816"
    }
  ]
}