{
  "_id": "6a10212aacfb0bcc41c8bedc",
  "Package": "grtsdb",
  "Title": "Create a Sampling Frame Using GRTS",
  "Version": "0.2",
  "Authors@R": "c(\nperson(\"Thierry\", \"Onkelinx\", , \"thierry.onkelinx@inbo.be\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8804-4216\")),\nperson(\"Bruno\", \"De Vos\", , \"bruno.devos@inbo.be\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-9523-3453\")),\nperson(\"Research Institute for Nature and Forest\", , , \"info@inbo.be\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Create an SQLite database containing the sampling\nframework for different levels of resolution. Take a sample\nfrom this framework.",
  "License": "GPL-3",
  "URL": "https://inbo.github.io/grtsdb/, https://github.com/inbo/grtsdb",
  "BugReports": "https://github.com/inbo/grtsdb/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.2",
  "Repository": "https://inbo.r-universe.dev",
  "Date/Publication": "2022-01-09 20:00:04 UTC",
  "RemoteUrl": "https://github.com/inbo/grtsdb",
  "RemoteRef": "HEAD",
  "RemoteSha": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 05:50:41 UTC",
    "User": "root"
  },
  "Author": "Thierry Onkelinx [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8804-4216>),\nBruno De Vos [aut] (ORCID: <https://orcid.org/0000-0001-9523-3453>),\nResearch Institute for Nature and Forest [cph, fnd]",
  "Maintainer": "Thierry Onkelinx <thierry.onkelinx@inbo.be>",
  "MD5sum": "07ae1cbbe042d80e02c5541e0541a477",
  "_user": "inbo",
  "_type": "src",
  "_file": "grtsdb_0.2.tar.gz",
  "_fileid": "d15c362e06f47f0e90bab010314d8317a21b05fd74121be65fecf82b79a32c6a",
  "_filesize": 485446,
  "_sha256": "d15c362e06f47f0e90bab010314d8317a21b05fd74121be65fecf82b79a32c6a",
  "_created": "2026-05-14T05:50:41.000Z",
  "_published": "2026-05-22T09:26:02.636Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77352367706,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988098861"
    },
    {
      "job": 77352367887,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988099188"
    },
    {
      "job": 77352367766,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988092744"
    },
    {
      "job": 77352367969,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988098303"
    },
    {
      "job": 77352366995,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988067726"
    },
    {
      "job": 77352367201,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157221186"
    },
    {
      "job": 77352367904,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6988086456"
    },
    {
      "job": 77352368050,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6988089509"
    },
    {
      "job": 77352368122,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6988093514"
    }
  ],
  "_buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/inbo/grtsdb",
  "_commit": {
    "id": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
    "author": "Thierry Onkelinx <ThierryO@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from inbo/legacy\n\nAdd an option to use legacy sites to a GRTS sample",
    "time": 1641758404
  },
  "_maintainer": {
    "name": "Thierry Onkelinx",
    "email": "thierry.onkelinx@inbo.be",
    "login": "thierryo",
    "mastodon": "@ThierryO@fosstodon.org",
    "orcid": "0000-0001-8804-4216",
    "uuid": 446636
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "inbo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "grts",
    "sampling",
    "sampling-methods",
    "sqlite"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "thierryo",
      "count": 51,
      "uuid": 446636
    }
  ],
  "_userbio": {
    "uuid": 2735610,
    "type": "organization",
    "name": "Research Institute for Nature and Forest (INBO)",
    "description": "Open source, data and science initiatives of the Research Institute for Nature and Forest (INBO)"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/grtsdb"
  },
  "_devurl": "https://github.com/inbo/grtsdb",
  "_pkgdown": "https://inbo.github.io/grtsdb/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/grtsdb.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_legacy_sites",
    "add_level",
    "compact_db",
    "connect_db",
    "create_index",
    "dbDisconnect",
    "drop_legacy_sites",
    "extract_legacy_sample",
    "extract_sample",
    "has_index",
    "is_grtsdb",
    "n_level",
    "which_level"
  ],
  "_help": [
    {
      "page": "add_legacy_sites",
      "title": "Add legacy sites",
      "concept": [
        "legacy"
      ],
      "topics": [
        "add_legacy_sites"
      ]
    },
    {
      "page": "add_level",
      "title": "Add a level to the grtsdb",
      "concept": [
        "base"
      ],
      "topics": [
        "add_level"
      ]
    },
    {
      "page": "compact_db",
      "title": "Compact the database by removing the lower levels and all indices",
      "concept": [
        "utility"
      ],
      "topics": [
        "compact_db"
      ]
    },
    {
      "page": "connect_db",
      "title": "connect to or create an SQLite database",
      "concept": [
        "base"
      ],
      "topics": [
        "connect_db"
      ]
    },
    {
      "page": "create_index",
      "title": "Add the index to the table",
      "concept": [
        "utility"
      ],
      "topics": [
        "create_index"
      ]
    },
    {
      "page": "drop_legacy_sites",
      "title": "Drop the table with legacy sites for a given level",
      "concept": [
        "legacy"
      ],
      "topics": [
        "drop_legacy_sites"
      ]
    },
    {
      "page": "extract_legacy_sample",
      "title": "Extract the GRTS sample with legacy sites",
      "concept": [
        "legacy"
      ],
      "topics": [
        "extract_legacy_sample"
      ]
    },
    {
      "page": "extract_sample",
      "title": "extract the grts sample",
      "concept": [
        "base"
      ],
      "topics": [
        "extract_sample"
      ]
    },
    {
      "page": "has_index",
      "title": "has a table the required index",
      "concept": [
        "utility"
      ],
      "topics": [
        "has_index"
      ]
    },
    {
      "page": "is_grtsdb",
      "title": "Check is an object is a grtsdb",
      "concept": [
        "utility"
      ],
      "topics": [
        "is_grtsdb"
      ]
    },
    {
      "page": "n_level",
      "title": "Calculate the required level based on a bounding box and a cellsize",
      "concept": [
        "utility"
      ],
      "topics": [
        "n_level"
      ]
    },
    {
      "page": "which_level",
      "title": "Return a vector of level number which are available in the database",
      "concept": [
        "utility"
      ],
      "topics": [
        "which_level"
      ]
    }
  ],
  "_readme": "https://github.com/inbo/grtsdb/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "bit",
    "bit64",
    "blob",
    "cachem",
    "cli",
    "cpp11",
    "DBI",
    "fastmap",
    "glue",
    "lifecycle",
    "memoise",
    "pkgconfig",
    "rlang",
    "RSQLite",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "basic.Rmd",
      "filename": "basic.html",
      "title": "Basic Usage of grtsdb",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Short introduction to Generalized Random Tessellation Stratified sampling (GRTS)",
        "Quadrant recursive map",
        "Reverse hierarchical ordering",
        "Randomisation",
        "Selection of the sample",
        "Benefits of the normal hierarchical order",
        "Benefits of the revese hierarchical order",
        "Main functionality of grtsdb",
        "Nested samples",
        "Repeated samples",
        "n-dimensional GRTS"
      ],
      "created": "2022-01-09 20:00:04",
      "modified": "2022-01-09 20:00:04",
      "commits": 1
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "grtsdb",
  "_universes": [
    "inbo",
    "thierryo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-05-14T05:52:54.000Z",
      "distro": "noble",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "9af8f9f30dbec22c742fa09fdd37f4217c4b2ceb6d03e98247c1acd996619de4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-05-14T05:52:56.000Z",
      "distro": "noble",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "d84a62eb305b4e44654487457c53944e05131757efaa95131e16ce9275cc69d3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-05-14T05:52:27.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "2e6cd26fa01b668459afe1cfe2ca8324415dc96d543521886568675ed9195e65",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2",
      "date": "2026-05-14T05:52:47.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "555be1ced788b0e5179e8f0f6ec858bfd68716222a53127d40c1ffa07a95eec3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-05-14T05:51:53.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "e53c7580d164500714a0e9c9f8da9ccd90ac319f9a4dd0563febf1d40171979f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-05-14T05:52:09.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "e8c014b2cd2a8e5a832e0ec5b1ddc7e03eb29edce41905106466546a2fb0a247",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-05-14T05:52:26.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "0d22a2703f858283c95e413e0f5250181146de2188f6f10986fae82cd2caf131",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-05-22T09:25:41.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "552c3e4e6581d574b83ab924fad7913d831dd1b1fe0f1a9ada0b980799de59bd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/inbo/actions/runs/25844176165"
    }
  ]
}