{
  "_id": "6a587352ff0138dec5d73982",
  "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://thierryo.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-07-16 05:55:44 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>",
  "_user": "thierryo",
  "_type": "src",
  "_file": "grtsdb_0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/692eafdf49dd682e7911ce2db2dc59187d010f9b9dd30e4d3d49ca112d7a1bcd",
  "_filesize": 481248,
  "_sha256": "692eafdf49dd682e7911ce2db2dc59187d010f9b9dd30e4d3d49ca112d7a1bcd",
  "_expires": "2026-10-24T05:59:44.000Z",
  "_created": "2026-07-16T05:55:44.000Z",
  "_published": "2026-07-16T05:59:46.476Z",
  "_jobs": [
    {
      "job": 87546684081,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8366327756"
    },
    {
      "job": 87546684028,
      "time": 206,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8366343283"
    },
    {
      "job": 87546684027,
      "time": 73,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8366322576"
    },
    {
      "job": 87546684044,
      "time": 78,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8366317020"
    },
    {
      "job": 87546205913,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8366280694"
    },
    {
      "job": 87546684047,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8366323620"
    },
    {
      "job": 87546684055,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8366304387"
    },
    {
      "job": 87546684062,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8366305912"
    },
    {
      "job": 87546684048,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8366309752"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 446636
  },
  "_distro": "resolute",
  "_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": 446636,
    "type": "user",
    "name": "Thierry Onkelinx",
    "followers": 69
  },
  "_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.1",
  "_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": false,
  "_nocasepkg": "grtsdb",
  "_universes": [
    "thierryo"
  ],
  "_indexurl": "https://inbo.r-universe.dev/grtsdb",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-07-16T05:58:12.000Z",
      "distro": "resolute",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/8cbc1d4dfc749c05cda3158cd4c717928204cb7904251fd548383110566b3e9f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-07-16T05:59:02.000Z",
      "distro": "resolute",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/702e118620c3812da191201878c50975713614374db127daa870bfb03170e2ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-16T05:58:03.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/d63e941ecc15b587eb5ee7938dac4f4b894a98cbffd968fb71cebe89687660d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2",
      "date": "2026-07-16T05:57:42.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/108c6bfc2f5a313544a639f92cff5898a25c1d9a978ed8dd6dc87cdbcb61dcc0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-07-16T05:58:17.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/a2466204e3f6a06bd9de5a4b2a52c98b2ef7a86e23e3f4e8942509a2cd28f9ba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-16T05:56:51.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/14bcce8075912dbd79624f6c29bb2eb03b99d63f64796e35a3c3e5217a7122aa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-16T05:56:56.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/54c9957b3d18bceb8f172263ecb37c61703a4001b02e5fab9010bee24e2acd5f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-07-16T05:57:07.000Z",
      "commit": "efa9643c563c6fb08c11dbfa9217880f54dc233a",
      "fileid": "https://r2.ropensci.org/f935c79659ae67fef893517c6890d3374d15e888cf7d232472611e7acc6d0b22",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/thierryo/actions/runs/29475054346"
    }
  ]
}