{
  "_id": "6a155258acfb0bcc41d5bc6c",
  "Package": "prevR",
  "Type": "Package",
  "Title": "Estimating Regional Trends of a Prevalence from a DHS and\nSimilar Surveys",
  "Version": "5.0.0.9000",
  "Maintainer": "Joseph Larmarange <joseph.larmarange@ird.fr>",
  "Authors@R": "c(\nperson(\"Joseph\", \"Larmarange\", email = \"joseph.larmarange@ird.fr\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-7097-700X\"))\n)",
  "Acknowledgments": "funding from ANRS and IRD, and technical support from\nLYSIS (info@lysis-consultants.fr)",
  "Description": "Spatial estimation of a prevalence surface or a relative\nrisks surface, using data from a Demographic and Health Survey\n(DHS) or an analog survey, see Larmarange et al. (2011)\n<doi:10.4000/cybergeo.24606>.",
  "License": "CeCILL",
  "URL": "https://github.com/larmarange/prevR/",
  "BugReports": "https://github.com/larmarange/prevR/issues",
  "Language": "en-US",
  "LazyData": "yes",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://larmarange.r-universe.dev",
  "Date/Publication": "2024-10-04 10:27:08 UTC",
  "RemoteUrl": "https://github.com/larmarange/prevr",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e6a62916c6222af2575ddd7c7e3de5789228150",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 07:51:32 UTC",
    "User": "root"
  },
  "Author": "Joseph Larmarange [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7097-700X>)",
  "MD5sum": "5d8b52d10cc54b86ffaf6e5a7577aa36",
  "_user": "larmarange",
  "_type": "src",
  "_file": "prevR_5.0.0.9000.tar.gz",
  "_fileid": "0d7c487edd56904aec19d42a35845dd1217dbc53434eee41bd38619e0bbc1d6e",
  "_filesize": 3342946,
  "_sha256": "0d7c487edd56904aec19d42a35845dd1217dbc53434eee41bd38619e0bbc1d6e",
  "_created": "2026-05-26T07:51:32.000Z",
  "_published": "2026-05-26T07:57:12.231Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77830595473,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7211698992"
    },
    {
      "job": 77830595469,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211700248"
    },
    {
      "job": 77830595447,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7211722635"
    },
    {
      "job": 77830595459,
      "time": 215,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211719431"
    },
    {
      "job": 77829982173,
      "time": 251,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211643920"
    },
    {
      "job": 77830595471,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211684153"
    },
    {
      "job": 77830595440,
      "time": 156,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7211691927"
    },
    {
      "job": 77830595552,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7211683829"
    },
    {
      "job": 77830595460,
      "time": 121,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211681984"
    }
  ],
  "_buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/larmarange/prevr",
  "_commit": {
    "id": "6e6a62916c6222af2575ddd7c7e3de5789228150",
    "author": "Joseph Larmarange <joseph@larmarange.net>",
    "committer": "Joseph Larmarange <joseph@larmarange.net>",
    "message": "Create test-coverage.yaml\n",
    "time": 1728037628
  },
  "_maintainer": {
    "name": "Joseph Larmarange",
    "email": "joseph.larmarange@ird.fr",
    "login": "larmarange",
    "orcid": "0000-0001-7097-700X",
    "description": "Public health demographer",
    "uuid": 966307
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "directlabels",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gstat",
      "role": "Imports"
    },
    {
      "package": "KernSmooth",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    },
    {
      "package": "foreign",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stars",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "terra",
      "role": "Suggests"
    }
  ],
  "_owner": "larmarange",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "larmarange",
      "count": 255,
      "uuid": 966307
    }
  ],
  "_userbio": {
    "uuid": 966307,
    "type": "user",
    "name": "Joseph Larmarange",
    "description": "Public health demographer"
  },
  "_downloads": {
    "count": 373,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prevR"
  },
  "_mentions": 8,
  "_devurl": "https://github.com/larmarange/prevr",
  "_searchresults": 48,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/prevR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/larmarange/prevr",
  "_realowner": "larmarange",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.1",
      "date": "2012-06-20"
    },
    {
      "version": "2.2",
      "date": "2013-03-12"
    },
    {
      "version": "2.8",
      "date": "2013-08-20"
    },
    {
      "version": "2.9",
      "date": "2013-12-28"
    },
    {
      "version": "3.1",
      "date": "2015-05-19"
    },
    {
      "version": "3.3",
      "date": "2016-02-24"
    },
    {
      "version": "3.4.0",
      "date": "2019-05-06"
    },
    {
      "version": "3.4.1",
      "date": "2020-08-28"
    },
    {
      "version": "4.0.0",
      "date": "2022-05-12"
    },
    {
      "version": "4.0.1",
      "date": "2022-11-21"
    },
    {
      "version": "5.0.0",
      "date": "2023-05-15"
    }
  ],
  "_exports": [
    "as.prevR",
    "changeproj",
    "create.boundary",
    "direct.label_prevR",
    "export",
    "idw",
    "import.dhs",
    "is.prevR",
    "kde",
    "krige",
    "make.grid.prevR",
    "Noptim",
    "plot",
    "prevR.colors.blue",
    "prevR.colors.blue.inverse",
    "prevR.colors.gray",
    "prevR.colors.gray.inverse",
    "prevR.colors.green",
    "prevR.colors.green.inverse",
    "prevR.colors.qgis.pal",
    "prevR.colors.red",
    "prevR.colors.red.inverse",
    "prevR.demo.pal",
    "print",
    "quick.prevR",
    "rings",
    "show",
    "st_filter_prevR",
    "summary",
    "theme_prevR",
    "theme_prevR_light",
    "update_prevR",
    "xyz2dataframe"
  ],
  "_datasets": [
    {
      "name": "fdhs",
      "title": "Fictitious data generated by a DHS simulation.",
      "object": "fdhs",
      "class": [
        "prevR"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fdhs.boundary",
      "title": "Fictitious data generated by a DHS simulation.",
      "object": "fdhs",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "fdhs.clusters",
      "title": "Fictitious data generated by a DHS simulation.",
      "object": "fdhs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cluster",
        "x",
        "y",
        "residence",
        "n",
        "weighted.n",
        "weighted.pos",
        "pos"
      ],
      "rows": 401,
      "table": true,
      "tojson": true
    },
    {
      "name": "TMWorldBorders",
      "title": "Dataset \"TM World Borders Dataset 0.3\".",
      "object": "TMWorldBorders",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "FIPS",
        "ISO2",
        "ISO3",
        "UN",
        "NAME",
        "AREA",
        "POP2005",
        "REGION",
        "SUBREGION",
        "LON",
        "LAT",
        "geometry"
      ],
      "rows": 246,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "prevR-package",
      "title": "Estimating regional trends of a prevalence from a DHS.",
      "topics": [
        "prevR-package"
      ]
    },
    {
      "page": "as.data.frame.prevR",
      "title": "Convert an object of class prevR into a data.frame.",
      "topics": [
        "as.data.frame",
        "as.data.frame.prevR"
      ]
    },
    {
      "page": "as.prevR",
      "title": "Create an object of class prevR.",
      "topics": [
        "as.prevR"
      ]
    },
    {
      "page": "changeproj-prevR-method",
      "title": "Convert map projection of a object of class prevR.",
      "topics": [
        "changeproj",
        "changeproj,prevR-method",
        "changeproj-methods"
      ]
    },
    {
      "page": "create.boundary",
      "title": "Provide national boundaries of a country.",
      "topics": [
        "create.boundary"
      ]
    },
    {
      "page": "direct.label_prevR",
      "title": "Direct label on a ggplot object",
      "topics": [
        "direct.label_prevR"
      ]
    },
    {
      "page": "export-prevR-method",
      "title": "Export an object of class prevR.",
      "topics": [
        "export",
        "export,prevR-method",
        "export-methods"
      ]
    },
    {
      "page": "fdhs",
      "title": "Fictitious data generated by a DHS simulation.",
      "topics": [
        "fdhs",
        "fdhs.boundary",
        "fdhs.clusters"
      ]
    },
    {
      "page": "import.dhs",
      "title": "Import DHS data.",
      "topics": [
        "import.dhs"
      ]
    },
    {
      "page": "is.prevR",
      "title": "Test if an object is of class prevR. This function test if the class of an object is prevR. It could be used to test the slot 'rings' or the slot 'boundary'.",
      "topics": [
        "is.prevR"
      ]
    },
    {
      "page": "kde-prevR-method",
      "title": "Kernel density estimation for prevR object.",
      "topics": [
        "kde",
        "kde,prevR-method",
        "kde-methods"
      ]
    },
    {
      "page": "krige-ANY-prevR-method",
      "title": "Spatial interpolation (kriging and inverse distance weighting) for objects of class prevR.",
      "topics": [
        "idw",
        "idw,ANY,prevR-method",
        "idw,prevR-method",
        "idw-methods",
        "krige",
        "krige,ANY,prevR-method",
        "krige,prevR-method",
        "krige-methods"
      ]
    },
    {
      "page": "make.grid.prevR",
      "title": "Create a spatial grid from an object of class prevR.",
      "topics": [
        "make.grid.prevR"
      ]
    },
    {
      "page": "Noptim",
      "title": "Suggested optimal value for N",
      "topics": [
        "Noptim"
      ]
    },
    {
      "page": "plot-prevR-missing-method",
      "title": "Plot object of class prevR.",
      "topics": [
        "plot",
        "plot,prevR,missing-method",
        "plot,prevR-method",
        "plot-methods"
      ]
    },
    {
      "page": "prevR-class",
      "title": "Objects of class prevR.",
      "topics": [
        "prevR-class"
      ]
    },
    {
      "page": "prevR.colors",
      "title": "Continuous color palettes.",
      "topics": [
        "prevR.colors",
        "prevR.colors.blue",
        "prevR.colors.blue.inverse",
        "prevR.colors.gray",
        "prevR.colors.gray.inverse",
        "prevR.colors.green",
        "prevR.colors.green.inverse",
        "prevR.colors.qgis.pal",
        "prevR.colors.red",
        "prevR.colors.red.inverse",
        "prevR.demo.pal"
      ]
    },
    {
      "page": "print-prevR-method",
      "title": "Summary of a prevR object.",
      "topics": [
        "print",
        "print,prevR-method",
        "print-methods"
      ]
    },
    {
      "page": "quick.prevR",
      "title": "Quick prevR analysis and plot",
      "topics": [
        "quick.prevR"
      ]
    },
    {
      "page": "rings-prevR-method",
      "title": "Calculation of rings of equal number of observation and/or equal radius.",
      "topics": [
        "rings",
        "rings,prevR-method",
        "rings-methods"
      ]
    },
    {
      "page": "show-prevR-method",
      "title": "Summary of a prevR object.",
      "topics": [
        "show",
        "show,prevR-method",
        "show-methods"
      ]
    },
    {
      "page": "st_filter_prevR",
      "title": "Spatial filter",
      "topics": [
        "st_filter_prevR"
      ]
    },
    {
      "page": "summary-prevR-method",
      "title": "Detailed summary of the variables of a prevR object",
      "topics": [
        "prevRsummary",
        "summary",
        "summary,prevR-method",
        "summary-methods"
      ]
    },
    {
      "page": "theme_prevR",
      "title": "prevR themes for ggplot2",
      "topics": [
        "theme_prevR",
        "theme_prevR_light"
      ]
    },
    {
      "page": "TMWorldBorders",
      "title": "Dataset \"TM World Borders Dataset 0.3\".",
      "topics": [
        "TMWorldBorders"
      ]
    },
    {
      "page": "update_prevR",
      "title": "Update a prevR object",
      "topics": [
        "update_prevR"
      ]
    },
    {
      "page": "xyz2dataframe",
      "title": "Convert a surface in xyz to a data frame.",
      "topics": [
        "xyz2dataframe"
      ]
    }
  ],
  "_readme": "https://github.com/larmarange/prevr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "directlabels",
    "dotCall64",
    "e1071",
    "farver",
    "fields",
    "FNN",
    "foreign",
    "ggplot2",
    "glue",
    "gstat",
    "gtable",
    "intervals",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "maps",
    "MASS",
    "proxy",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sftime",
    "sp",
    "spacetime",
    "spam",
    "stars",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "intro_prevR.Rmd",
      "filename": "intro_prevR.html",
      "title": "Introduction to prevR",
      "author": "Joseph Larmarange",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Importing data",
        "Plotting a prevR object",
        "Changing coordinates projection",
        "Quick analysis",
        "Step by step analysis",
        "Functions and methods provided by prevR",
        "Datasets",
        "Creating objects",
        "Data visualization",
        "Data manipulation",
        "Data analysis",
        "Results visualization and export"
      ],
      "created": "2019-05-06 10:37:40",
      "modified": "2023-05-15 09:48:22",
      "commits": 7
    }
  ],
  "_score": 6.061452479087193,
  "_indexed": true,
  "_nocasepkg": "prevr",
  "_universes": [
    "larmarange"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:54:01.000Z",
      "distro": "noble",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "10280bdc923a6bb8e8d3b2203ae877ff2d5c9714300bc67fb092ff9a8f8cd624",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:54:07.000Z",
      "distro": "noble",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "df1b78962c19dfd73b59c178a6cc5f6af26a5146f7f5e2622191e960a19be99c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:55:40.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "736c91504c9d9caf931535542cb95fac625503f06ddf99a24e0a26e077cced03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:55:18.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "86e7e304cefd8388c3b063a767fcd0d500024b3289a039ba8ec5669c95bdd2b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:54:05.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "889d967df53e5dd92886402681762e7315715b81beaa30433e35161d98766482",
      "status": "success",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:53:27.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "578c82ee897a6189c471171dfa2076edaf32e2cc8e416af0b95daf3ab24c885a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:53:06.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "db6ea06fe57247db11e5aafc8500a68223cc52c18b44f0e3b9d1d0318505a028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "5.0.0.9000",
      "date": "2026-05-26T07:52:57.000Z",
      "commit": "6e6a62916c6222af2575ddd7c7e3de5789228150",
      "fileid": "8bb05830902f2abef21111e261d7e07fb5aae0ba0d8b83b6181e607538daeb16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/26439433678"
    }
  ]
}