{
  "_id": "6a2a847b7b7a29ca600487de",
  "Package": "disaggregation",
  "Type": "Package",
  "Title": "Disaggregation Modelling",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(\"Anita\", \"Nandi\", email = \"anita.k.nandi@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0002-5087-2494\")),\nperson(\"Tim\", \"Lucas\", email =  \"timcdlucas@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-4694-8107\")),\nperson(\"Rohan\", \"Arambepola\", email = \"rarambepola@gmail.com\", role = \"aut\"),\nperson(\"Andre\", \"Python\", email = \"python.andre@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0001-8094-7226\")),\nperson(\"Simon\", \"Smart\", email = \"simon.smart@cantab.net\", role = \"ctb\")\n)",
  "Description": "Fits disaggregation regression models using 'TMB'\n('Template Model Builder'). When the response data are\naggregated to polygon level but the predictor variables are at\na higher resolution, these models can be useful. Regression\nmodels with spatial random fields. The package is described in\ndetail in Nandi et al. (2023) <doi:10.18637/jss.v106.i11>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://timcdlucas.r-universe.dev",
  "Date/Publication": "2024-11-13 15:43:10 UTC",
  "RemoteUrl": "https://github.com/timcdlucas/disaggregation",
  "RemoteRef": "HEAD",
  "RemoteSha": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-11 09:38:43 UTC",
    "User": "root"
  },
  "Author": "Anita Nandi [aut] (ORCID: <https://orcid.org/0000-0002-5087-2494>),\nTim Lucas [aut, cre] (ORCID: <https://orcid.org/0000-0003-4694-8107>),\nRohan Arambepola [aut],\nAndre Python [aut] (ORCID: <https://orcid.org/0000-0001-8094-7226>),\nSimon Smart [ctb]",
  "Maintainer": "Tim Lucas <timcdlucas@gmail.com>",
  "MD5sum": "1ec5755382fc32bde1705084d551c92b",
  "_user": "timcdlucas",
  "_type": "src",
  "_file": "disaggregation_0.4.0.tar.gz",
  "_fileid": "d20f4e24d810ff7d19371af1927f0a1c3abf9348c95a4d1349e15c977f863d4a",
  "_filesize": 1122809,
  "_sha256": "d20f4e24d810ff7d19371af1927f0a1c3abf9348c95a4d1349e15c977f863d4a",
  "_created": "2026-06-11T09:38:43.000Z",
  "_published": "2026-06-11T09:48:43.849Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80766994193,
      "time": 242,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560547855"
    },
    {
      "job": 80766994138,
      "time": 236,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560544821"
    },
    {
      "job": 80766994125,
      "time": 238,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560545748"
    },
    {
      "job": 80766994132,
      "time": 493,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560645385"
    },
    {
      "job": 80766994204,
      "time": 404,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7560583733"
    },
    {
      "job": 80766994112,
      "time": 527,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7560649090"
    },
    {
      "job": 80766994103,
      "time": 328,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560558106"
    },
    {
      "job": 80766994328,
      "time": 512,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560639864"
    },
    {
      "job": 80765964551,
      "time": 328,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560450621"
    },
    {
      "job": 80766994202,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560509732"
    },
    {
      "job": 80766994118,
      "time": 325,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560579998"
    },
    {
      "job": 80766994152,
      "time": 207,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7560533710"
    },
    {
      "job": 80766994170,
      "time": 223,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560540243"
    }
  ],
  "_buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/timcdlucas/disaggregation",
  "_commit": {
    "id": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
    "author": "Tim Lucas <timcdlucas@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #4 from simon-smart88/master\n\nUpdate for v0.4.0",
    "time": 1731512590
  },
  "_maintainer": {
    "name": "Tim Lucas",
    "email": "timcdlucas@gmail.com",
    "login": "timcdlucas",
    "twitter": "@statsforbios",
    "description": "U. of Leicester lecturer studying zoonotic and vector-borne disease, air pollution, human movement and geostatistics.",
    "uuid": 3583796,
    "orcid": "0000-0003-4694-8107"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "splancs",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "rSPDE",
      "role": "Imports"
    },
    {
      "package": "sparseMVN",
      "role": "Imports"
    },
    {
      "package": "fmesher",
      "role": "Imports"
    },
    {
      "package": "tidyterra",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "SpatialEpi",
      "role": "Suggests"
    }
  ],
  "_owner": "timcdlucas",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "timcdlucas",
      "count": 199,
      "uuid": 3583796
    },
    {
      "user": "simon-smart88",
      "count": 85,
      "uuid": 137152810
    },
    {
      "user": "aknandi",
      "count": 16,
      "uuid": 12728523
    }
  ],
  "_userbio": {
    "uuid": 3583796,
    "type": "user",
    "name": "Tim Lucas",
    "description": "U. of Leicester lecturer studying zoonotic and vector-borne disease, air pollution, human movement and geostatistics."
  },
  "_downloads": {
    "count": 594,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/disaggregation"
  },
  "_devurl": "https://github.com/timcdlucas/disaggregation",
  "_searchresults": 11,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/disaggregation.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/timcdlucas/disaggregation",
  "_realowner": "timcdlucas",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-12-06"
    },
    {
      "version": "0.1.1",
      "date": "2019-12-10"
    },
    {
      "version": "0.1.2",
      "date": "2019-12-17"
    },
    {
      "version": "0.1.3",
      "date": "2020-02-19"
    },
    {
      "version": "0.1.4",
      "date": "2022-09-06"
    },
    {
      "version": "0.2.0",
      "date": "2023-04-28"
    },
    {
      "version": "0.2.1",
      "date": "2023-09-07"
    },
    {
      "version": "0.3.0",
      "date": "2023-11-08"
    },
    {
      "version": "0.4.0",
      "date": "2024-10-02"
    },
    {
      "version": "0.4.1",
      "date": "2025-08-22"
    }
  ],
  "_exports": [
    "as.disag_data",
    "build_mesh",
    "disag_model",
    "getCovariateRasters",
    "getPolygonData",
    "getStartendindex",
    "make_model_object",
    "plot_disag_model_data",
    "predict_model",
    "predict_uncertainty",
    "prepare_data"
  ],
  "_help": [
    {
      "page": "as.disag_data",
      "title": "Function to fit the disaggregation model",
      "topics": [
        "as.disag_data"
      ]
    },
    {
      "page": "build_mesh",
      "title": "Build mesh for disaggregaton model",
      "topics": [
        "build_mesh"
      ]
    },
    {
      "page": "disag_model",
      "title": "Fit the disaggregation model",
      "topics": [
        "disag_model"
      ]
    },
    {
      "page": "dummy",
      "title": "Roxygen commands",
      "topics": [
        "dummy"
      ]
    },
    {
      "page": "getCovariateRasters",
      "title": "Get a SpatRaster of covariates from a folder containing .tif files",
      "topics": [
        "getCovariateRasters"
      ]
    },
    {
      "page": "getPolygonData",
      "title": "Extract polygon id and response data into a data.frame from a sf object",
      "topics": [
        "getPolygonData"
      ]
    },
    {
      "page": "getStartendindex",
      "title": "Function to match pixels to their corresponding polygon",
      "topics": [
        "getStartendindex"
      ]
    },
    {
      "page": "make_model_object",
      "title": "Create the TMB model object for the disaggregation model",
      "topics": [
        "make_model_object"
      ]
    },
    {
      "page": "plot_disag_model_data",
      "title": "Convert results of the model ready for plotting",
      "topics": [
        "plot_disag_model_data"
      ]
    },
    {
      "page": "plot.disag_data",
      "title": "Plot input data for disaggregation",
      "topics": [
        "plot.disag_data"
      ]
    },
    {
      "page": "plot.disag_model",
      "title": "Plot results of fitted model",
      "topics": [
        "plot.disag_model"
      ]
    },
    {
      "page": "plot.disag_prediction",
      "title": "Plot mean and uncertainty predictions from the disaggregation model results",
      "topics": [
        "plot.disag_prediction"
      ]
    },
    {
      "page": "predict_model",
      "title": "Function to predict mean from the model result",
      "topics": [
        "predict_model"
      ]
    },
    {
      "page": "predict_uncertainty",
      "title": "Function to predict uncertainty from the model result",
      "topics": [
        "predict_uncertainty"
      ]
    },
    {
      "page": "predict.disag_model",
      "title": "Predict mean and uncertainty from the disaggregation model result",
      "topics": [
        "predict.disag_model"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Prepare data for disaggregation modelling",
      "topics": [
        "prepare_data"
      ]
    },
    {
      "page": "print.disag_data",
      "title": "Print function for disaggregation input data",
      "topics": [
        "print.disag_data"
      ]
    },
    {
      "page": "print.disag_model",
      "title": "Print function for disaggregation fit result.",
      "topics": [
        "print.disag_model"
      ]
    },
    {
      "page": "print.disag_prediction",
      "title": "Print function for disaggregation prediction",
      "topics": [
        "print.disag_prediction"
      ]
    },
    {
      "page": "summary.disag_data",
      "title": "Summary function for disaggregation input data",
      "topics": [
        "summary.disag_data"
      ]
    },
    {
      "page": "summary.disag_model",
      "title": "Summary function for disaggregation fit result",
      "topics": [
        "summary.disag_model"
      ]
    },
    {
      "page": "summary.disag_prediction",
      "title": "Summary function for disaggregation prediction",
      "topics": [
        "summary.disag_prediction"
      ]
    }
  ],
  "_readme": "https://github.com/timcdlucas/disaggregation/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "class",
    "classInt",
    "cli",
    "cowplot",
    "cpp11",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "fmesher",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "rSPDE",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "sparseMVN",
    "splancs",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidyterra",
    "TMB",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "disaggregation.Rmd",
      "filename": "disaggregation.html",
      "title": "A short introduction to the disaggregation package",
      "author": "Anita Nandi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example"
      ],
      "created": "2019-10-15 13:35:39",
      "modified": "2024-11-13 15:43:10",
      "commits": 15
    }
  ],
  "_score": 4.342422680822207,
  "_indexed": true,
  "_nocasepkg": "disaggregation",
  "_universes": [
    "timcdlucas"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "ebb6f9a7caf370af9d0068c4ad11c161f8b5463b8e7015854dffe76c403f8026",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "f21f23d85e9c0d0d729a8f76f579af611aab3f01c5f74f301201d10134d726fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "f01fc078d607f5f0053500680b0c21f12f73afe80eb0bfc6e824049609c4cb61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-06-11T09:45:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "89e99957a5acb05fac57ebfd0c446283b5435c5cfd8998eadb2ef68b84d82719",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-11T09:42:05.000Z",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "8da3eccacca002cb292f5047cd6331834243a639e161972fc00def38d70ba08e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-11T09:45:18.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "fe7a39f0f7b466038983087cf9b9d6e2303381a9aff64a759e5ff49d2fd3c0b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:45.000Z",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "ced793b056f112f2969f3014eb87957726b5c64264b4e865c96cdb8413999f3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-06-11T09:44:23.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "c165e531cd281d43267da8a871b142cea36bd6a26cc5bc74b7e0739c4cc0b19f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:49.000Z",
      "arch": "emscripten",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "38f260cc8516d6c39d51150ac77dc0d0489f82db040a2fd14849f2fd81fe15d0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-11T09:41:04.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "6053ffbf89e7e2acf42d7485ed752b01d4cacc51fde9f80f4b52e4b3c5282351",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-11T09:40:32.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "4122c716907fd1d4e98f42836469ee61adb20ad3c1349179b7f269082b1e17f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-06-11T09:40:39.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "a6de48cbcde2f3c31d8d84ff637722a2607de87422410ba80ba9d4f82c3dc6cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/27337634838"
    }
  ]
}