{
  "_id": "6a10366dacfb0bcc41c9a04b",
  "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-05-12 06:49:06 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": "61f3761ed1d98a3b79bfab197812118d",
  "_user": "timcdlucas",
  "_type": "src",
  "_file": "disaggregation_0.4.0.tar.gz",
  "_fileid": "d797fceeb6ef76323b6a3d273d530cb53645fcc3dc6db27aa7213b3fd5e7e0a3",
  "_filesize": 1124680,
  "_sha256": "d797fceeb6ef76323b6a3d273d530cb53645fcc3dc6db27aa7213b3fd5e7e0a3",
  "_created": "2026-05-12T06:49:06.000Z",
  "_published": "2026-05-22T10:56:44.995Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77365725745,
      "time": 263,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937572718"
    },
    {
      "job": 77365725941,
      "time": 252,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937569650"
    },
    {
      "job": 77365725839,
      "time": 252,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937569366"
    },
    {
      "job": 77365725895,
      "time": 277,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937576158"
    },
    {
      "job": 77365726041,
      "time": 287,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937571237"
    },
    {
      "job": 77365725985,
      "time": 361,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937595846"
    },
    {
      "job": 77365725897,
      "time": 304,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937568098"
    },
    {
      "job": 77365726031,
      "time": 402,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937604723"
    },
    {
      "job": 77365725402,
      "time": 371,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937501615"
    },
    {
      "job": 77365725289,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158831221"
    },
    {
      "job": 77365726001,
      "time": 287,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937579095"
    },
    {
      "job": 77365725963,
      "time": 288,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937579648"
    },
    {
      "job": 77365726007,
      "time": 254,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937569948"
    }
  ],
  "_buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357",
  "_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",
    "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": 550,
    "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-05-12T06:52:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "0ecef3427b4956f4d8f803b81b1ccca643c0e8e07ada2a21d8803c201bfddf26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-12T06:52:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "86710a0f69553913561b0bd416803e898cb3c0ffdc6c7e2190d9a7b10435889f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-12T06:52:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "8fa1b0de9d6eeb80adc50895922da446e733cd4dfcce67990be26155643e9ee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-12T06:53:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "58d5e52aa98c50a492413f66db6040fe883d72225c324f62edcc8c13953b381f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-12T06:52:28.000Z",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "61241940c503018a510f277dfad4d83d2b535fa3b29786c6ea5b9c443d3beba8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-12T06:53:16.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "98632d48270a3733ea598f1fe233a1910e4a2772b3ba98c14667f8263da2baf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-12T06:52:01.000Z",
      "arch": "aarch64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "ed077378f7b0c85695babd1be5bdb7e61c63aaf8a98a53a7f97ddd929d4c841a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-12T06:53:31.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "a0e699950f1a711e8fd657dc78b6caa134c6f59b84cf7eba7873e1aab69f11b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-12T06:51:23.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "2bf8b7a1c8ccd14024d2570b6423a5289f1e324c26eb78b59a09f9ec61345a77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-12T06:51:54.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "c166bcfe2b2cb8a80fa9ac6a291d4d175526de9d7fdc6671b634a477504a3a6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-12T06:51:13.000Z",
      "arch": "x86_64",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "a3401fc8197cc1da3572ea7ad2a7395993b3c33af631270937ac3d9e780a9995",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-05-22T10:56:08.000Z",
      "arch": "emscripten",
      "commit": "51660f4533673280c1f9ec5f470fadb2f3846d1a",
      "fileid": "5fafe7542ed0f048b5634d1b44bd8d87e0b0b51f316874fb7f6c703524edb123",
      "status": "success",
      "buildurl": "https://github.com/r-universe/timcdlucas/actions/runs/25718148357"
    }
  ]
}