{
  "_id": "6a1ed5dfb401979e7340e73a",
  "Package": "spcosa",
  "Type": "Package",
  "Title": "Spatial Coverage Sampling and Random Sampling from Compact\nGeographical Strata",
  "Version": "0.4-6",
  "Date": "2025-10-28",
  "Authors@R": "c(\nperson(\ngiven = \"Dennis\",\nfamily = \"Walvoort\",\nemail = \"dennis.Walvoort@wur.nl\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3967-5430\")),\nperson(\ngiven = \"Dick\",\nfamily = \"Brus\",\nemail = \"dick.brus@wur.nl\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2194-4783\")),\nperson(\ngiven = \"Jaap\",\nfamily = \"de Gruijter\",\nrole = c(\"aut\", \"cph\")))",
  "Description": "Spatial coverage sampling and random sampling from compact\ngeographical strata created by k-means. See Walvoort et al.\n(2010) <doi:10.1016/j.cageo.2010.04.005> for details.",
  "SystemRequirements": "Java (>= 6)",
  "License": "GPL (>= 3)",
  "URL": "https://git.wur.nl/Walvo001/spcosa",
  "Collate": "class_Stratification.R class_CompactStratification.R\nclass_CompactStratificationEqualArea.R\nclass_CompactStratificationPriorPoints.R\nclass_SamplingPattern.R class_SamplingPatternPurposive.R\nclass_SamplingPatternCentroids.R\nclass_SamplingPatternPriorPoints.R\nclass_SamplingPatternRandom.R\nclass_SamplingPatternRandomSamplingUnits.R\nclass_SamplingPatternRandomComposite.R class_Statistic.R\nclass_SpatialMean.R class_SamplingVariance.R\nclass_StandardError.R class_SpatialVariance.R\nclass_SpatialCumulativeDistributionFunction.R\ngeneric_estimate.R generic_getArea.R generic_getRelativeArea.R\ngeneric_getAttributes.R generic_getCellSize.R\ngeneric_getCentroid.R generic_getSampleSize.R\ngeneric_getNumberOfCells.R generic_getNumberOfStrata.R\ngeneric_getObjectiveFunctionValue.R generic_stratify.R\ngeneric_plot.R methods_estimate.R\nmethod_getArea-CompactStratification.R\nmethod_getRelativeArea-CompactStratification.R\nmethod_getCellSize-CompactStratification.R\nmethod_getCellSize-SpatialPixels.R\nmethod_getCentroid-CompactStratification.R\nmethod_getNumberOfCells-CompactStratification.R\nmethod_getNumberOfStrata-CompactStratification.R\nmethod_getObjectiveFunctionValue-CompactStratification.R\nmethod_getSampleSize-SamplingPattern.R\nmethod_getSampleSize-SamplingPatternRandomComposite.R\nmethod_initialize-CompactStratification.R\nmethod_initialize-CompactStratificationPriorPoints.R\nmethod_stratify-SpatialGrid.R method_stratify-SpatialPixels.R\nmethod_stratify-SpatialPolygons.R methods_plot.R\nmethods_spsample.R methods_setAs.R method_show-Stratification.R\nmethod_show-SamplingPattern.R method_show-Statistic.R onLoad.R\nonAttach.R",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 10:22:22 UTC",
    "User": "root"
  },
  "Author": "Dennis Walvoort [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3967-5430>), Dick Brus [aut, cph]\n(ORCID: <https://orcid.org/0000-0003-2194-4783>), Jaap de\nGruijter [aut, cph]",
  "Maintainer": "Dennis Walvoort <dennis.Walvoort@wur.nl>",
  "Config/pak/sysreqs": "default-jdk",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-29 09:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/spcosa",
  "RemoteRef": "HEAD",
  "RemoteSha": "665f3ea1844297a51cb0743948feffa9869c5d37",
  "MD5sum": "5d28363b2c382e601090e1ad2071d52e",
  "_user": "cran",
  "_type": "src",
  "_file": "spcosa_0.4-6.tar.gz",
  "_fileid": "e54f8bc493ed7a18cc4f4cb928d215cb1f1af2a07f23318ad50228d56336e31d",
  "_filesize": 221703,
  "_sha256": "e54f8bc493ed7a18cc4f4cb928d215cb1f1af2a07f23318ad50228d56336e31d",
  "_created": "2026-05-20T10:22:22.000Z",
  "_published": "2026-06-02T13:08:47.503Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79077694686,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7107456713"
    },
    {
      "job": 79077694751,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107459589"
    },
    {
      "job": 79077693750,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107401237"
    },
    {
      "job": 79077693873,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358539312"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26156288363",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/spcosa",
  "_commit": {
    "id": "665f3ea1844297a51cb0743948feffa9869c5d37",
    "author": "Dennis Walvoort <dennis.Walvoort@wur.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4-6\n",
    "time": 1761728402
  },
  "_maintainer": {
    "name": "Dennis Walvoort",
    "email": "dennis.walvoort@wur.nl",
    "orcid": "0000-0002-3967-5430"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "rJava",
      "version": ">= 1.0-0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "sp",
      "version": ">= 1.4-6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "RUnit",
      "version": ">= 0.4.32",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "version": ">= 1.0-12",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.36",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.11",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4-3",
      "date": "2025-06-02"
    },
    {
      "name": "0.4-4",
      "date": "2025-06-29"
    },
    {
      "name": "0.4-5",
      "date": "2025-10-14"
    },
    {
      "name": "0.4-6",
      "date": "2025-10-29"
    }
  ],
  "_stars": 2,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 460,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spcosa"
  },
  "_mentions": 1,
  "_searchresults": 62,
  "_topics": [
    "openjdk"
  ],
  "_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/spcosa.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "2009-03-13"
    },
    {
      "version": "0.1-2",
      "date": "2009-03-23"
    },
    {
      "version": "0.1-3",
      "date": "2009-05-17"
    },
    {
      "version": "0.1-4",
      "date": "2009-07-01"
    },
    {
      "version": "0.1-5",
      "date": "2009-09-09"
    },
    {
      "version": "0.2-0",
      "date": "2009-11-12"
    },
    {
      "version": "0.2-1",
      "date": "2010-04-19"
    },
    {
      "version": "0.2-2",
      "date": "2010-07-29"
    },
    {
      "version": "0.2-3",
      "date": "2010-10-09"
    },
    {
      "version": "0.3-0",
      "date": "2012-03-27"
    },
    {
      "version": "0.3-1",
      "date": "2012-09-11"
    },
    {
      "version": "0.3-2",
      "date": "2012-12-05"
    },
    {
      "version": "0.3-3",
      "date": "2013-01-30"
    },
    {
      "version": "0.3-4",
      "date": "2013-04-29"
    },
    {
      "version": "0.3-5",
      "date": "2013-05-02"
    },
    {
      "version": "0.3-6",
      "date": "2015-12-22"
    },
    {
      "version": "0.3-7",
      "date": "2018-01-19"
    },
    {
      "version": "0.3-8",
      "date": "2018-03-30"
    },
    {
      "version": "0.3-9",
      "date": "2020-01-13"
    },
    {
      "version": "0.3-10",
      "date": "2021-01-06"
    },
    {
      "version": "0.3-11",
      "date": "2021-01-18"
    },
    {
      "version": "0.4-0",
      "date": "2021-12-13"
    },
    {
      "version": "0.4-1",
      "date": "2022-08-11"
    },
    {
      "version": "0.4-2",
      "date": "2023-04-11"
    },
    {
      "version": "0.4-3",
      "date": "2025-06-02"
    },
    {
      "version": "0.4-4",
      "date": "2025-06-29"
    },
    {
      "version": "0.4-5",
      "date": "2025-10-14"
    },
    {
      "version": "0.4-6",
      "date": "2025-10-29"
    }
  ],
  "_exports": [
    "coerce",
    "estimate",
    "getArea",
    "getCentroid",
    "getNumberOfStrata",
    "getObjectiveFunctionValue",
    "getRelativeArea",
    "getSampleSize",
    "plot",
    "spsample",
    "stratify"
  ],
  "_help": [
    {
      "page": "spcosa-package",
      "title": "Spatial Coverage Sampling and Random Sampling from Compact Geographical Strata",
      "topics": [
        "spcosa-package",
        "spcosa"
      ]
    },
    {
      "page": "CompactStratification-class",
      "title": "Class \"CompactStratification\"",
      "topics": [
        "coerce,CompactStratification,data.frame-method",
        "coerce,CompactStratification,SpatialPixels-method",
        "coerce,CompactStratification,SpatialPixelsDataFrame-method",
        "CompactStratification-class"
      ]
    },
    {
      "page": "CompactStratificationEqualArea-class",
      "title": "Class \"CompactStratificationEqualArea\"",
      "topics": [
        "CompactStratificationEqualArea-class"
      ]
    },
    {
      "page": "CompactStratificationPriorPoints-class",
      "title": "Class \"CompactStratificationPriorPoints\"",
      "topics": [
        "CompactStratificationPriorPoints-class"
      ]
    },
    {
      "page": "estimate-methods",
      "title": "Estimating Statistics",
      "topics": [
        "estimate",
        "estimate,character,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate,character,CompactStratificationEqualArea,SamplingPatternRandomComposite,data.frame-method",
        "estimate,SamplingVariance,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate,SamplingVariance,CompactStratificationEqualArea,SamplingPatternRandomComposite,data.frame-method",
        "estimate,SpatialCumulativeDistributionFunction,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate,SpatialMean,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate,SpatialMean,CompactStratificationEqualArea,SamplingPatternRandomComposite,data.frame-method",
        "estimate,SpatialVariance,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate,StandardError,CompactStratification,SamplingPatternRandomSamplingUnits,data.frame-method",
        "estimate-methods"
      ]
    },
    {
      "page": "getArea-methods",
      "title": "Extract the Area of an Object",
      "topics": [
        "getArea",
        "getArea,CompactStratification-method",
        "getArea-methods"
      ]
    },
    {
      "page": "getCentroid-methods",
      "title": "Extract Centroids",
      "topics": [
        "getCentroid",
        "getCentroid,CompactStratification-method",
        "getCentroid-methods"
      ]
    },
    {
      "page": "getNumberOfStrata-methods",
      "title": "Extract the Number of Strata in an Object",
      "topics": [
        "getNumberOfStrata",
        "getNumberOfStrata,CompactStratification-method",
        "getNumberOfStrata-methods"
      ]
    },
    {
      "page": "getObjectiveFunctionValue-methods",
      "title": "Extract the Objective Function Value of an Object",
      "topics": [
        "getObjectiveFunctionValue",
        "getObjectiveFunctionValue,CompactStratification-method",
        "getObjectiveFunctionValue-methods"
      ]
    },
    {
      "page": "getRelativeArea-methods",
      "title": "Extract the Relative Area of an Object",
      "topics": [
        "getRelativeArea",
        "getRelativeArea,CompactStratification-method",
        "getRelativeArea-methods"
      ]
    },
    {
      "page": "getSampleSize-methods",
      "title": "Extract the sample size of an object",
      "topics": [
        "getSampleSize",
        "getSampleSize,SamplingPattern-method",
        "getSampleSize,SamplingPatternRandomComposite-method",
        "getSampleSize-methods"
      ]
    },
    {
      "page": "plot-methods",
      "title": "Visualizing Compact Stratifications and Sampling Patterns",
      "topics": [
        "plot,CompactStratification,missing-method",
        "plot,CompactStratification,SamplingPattern-method",
        "plot,CompactStratification,SamplingPatternPriorPoints-method",
        "plot,CompactStratification,SamplingPatternRandomComposite-method",
        "plot,SamplingPattern,missing-method",
        "plot,SamplingPatternPriorPoints,missing-method",
        "plot,SamplingPatternRandomComposite,missing-method"
      ]
    },
    {
      "page": "SamplingPattern-class",
      "title": "Class \"SamplingPattern\"",
      "topics": [
        "coerce,SamplingPattern,data.frame-method",
        "coerce,SamplingPattern,SpatialPoints-method",
        "SamplingPattern-class",
        "show,SamplingPattern-method"
      ]
    },
    {
      "page": "SamplingPatternCentroids-class",
      "title": "Class \"SamplingPatternCentroids\"",
      "topics": [
        "SamplingPatternCentroids-class"
      ]
    },
    {
      "page": "SamplingPatternPriorPoints-class",
      "title": "Class \"SamplingPatternPriorPoints\"",
      "topics": [
        "SamplingPatternPriorPoints-class"
      ]
    },
    {
      "page": "SamplingPatternPurposive-class",
      "title": "Class \"SamplingPatternPurposive\"",
      "topics": [
        "SamplingPatternPurposive-class"
      ]
    },
    {
      "page": "SamplingPatternRandom-class",
      "title": "Class \"SamplingPatternRandom\"",
      "topics": [
        "SamplingPatternRandom-class"
      ]
    },
    {
      "page": "SamplingPatternRandomComposite-class",
      "title": "Class \"SamplingPatternRandomComposite\"",
      "topics": [
        "coerce,SamplingPatternRandomComposite,data.frame-method",
        "coerce,SamplingPatternRandomComposite,SpatialPointsDataFrame-method",
        "SamplingPatternRandomComposite-class"
      ]
    },
    {
      "page": "SamplingPatternRandomSamplingUnits-class",
      "title": "Class \"SamplingPatternRandomSamplingUnits\"",
      "topics": [
        "SamplingPatternRandomSamplingUnits-class"
      ]
    },
    {
      "page": "SamplingVariance-class",
      "title": "Class \"SamplingVariance\"",
      "topics": [
        "SamplingVariance-class"
      ]
    },
    {
      "page": "SpatialCumulativeDistributionFunction-class",
      "title": "Class \"SpatialCumulativeDistributionFunction\"",
      "topics": [
        "SpatialCumulativeDistributionFunction-class"
      ]
    },
    {
      "page": "SpatialMean-class",
      "title": "Class \"SpatialMean\"",
      "topics": [
        "SpatialMean-class"
      ]
    },
    {
      "page": "SpatialVariance-class",
      "title": "Class \"SpatialVariance\"",
      "topics": [
        "SpatialVariance-class"
      ]
    },
    {
      "page": "spsample-methods",
      "title": "Spatial Sampling of Compact Strata",
      "topics": [
        "spsample",
        "spsample,CompactStratification,missing,missing-method",
        "spsample,CompactStratification,numeric,missing-method",
        "spsample,CompactStratificationEqualArea,numeric,character-method",
        "spsample,CompactStratificationPriorPoints,missing,missing-method"
      ]
    },
    {
      "page": "StandardError-class",
      "title": "Class \"StandardError\"",
      "topics": [
        "StandardError-class"
      ]
    },
    {
      "page": "Statistic-class",
      "title": "Class \"Statistic\"",
      "topics": [
        "show,Statistic-method",
        "Statistic-class"
      ]
    },
    {
      "page": "Stratification-class",
      "title": "Class \"Stratification\"",
      "topics": [
        "show,Stratification-method",
        "Stratification-class"
      ]
    },
    {
      "page": "stratify-methods",
      "title": "Stratification",
      "topics": [
        "stratify",
        "stratify,SpatialGrid-method",
        "stratify,SpatialPixels-method",
        "stratify,SpatialPolygons-method",
        "stratify-methods"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rJava",
    "rlang",
    "S7",
    "scales",
    "sp",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-21-jre-headless",
      "headers": "openjdk-21-jre-headless",
      "source": "openjdk",
      "version": "21.0.10+7-1~24.04",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_score": 3.17260293120986,
  "_indexed": true,
  "_nocasepkg": "spcosa",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4-6",
      "date": "2026-05-20T10:24:44.000Z",
      "distro": "noble",
      "commit": "665f3ea1844297a51cb0743948feffa9869c5d37",
      "fileid": "e3199e53c6d541f7dc735083d3632f1fccf6feada8237f004c91cbdba91cd6b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26156288363"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4-6",
      "date": "2026-05-20T10:24:50.000Z",
      "distro": "noble",
      "commit": "665f3ea1844297a51cb0743948feffa9869c5d37",
      "fileid": "e39ac9ed24e0c0663f8c50b63b2a749c3b9ccd8237a3ad5460c1b2b1c5e44448",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26156288363"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4-6",
      "date": "2026-06-02T13:08:13.000Z",
      "commit": "665f3ea1844297a51cb0743948feffa9869c5d37",
      "fileid": "f487a0ed3fadf2229b6c4bc6c0bda4bd076b170e83062f997bbbd24344b0390d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26156288363"
    }
  ]
}